MessageBox mit TimeOut

categories WINAPI

typedef int (WINAPI *MessageBoxTimeOutWFunc)(HWND hWndParent,PWCHAR strText,PWCHAR strCaption, UINT uType,WORD wLanguageId,DWORD dwMilliseconds);

HMODULE hMod = LoadLibrary(“user32.dll”);

MessageBoxTimeOutWFunc pMessageBoxTimeout = (MessageBoxTimeOutWFunc)GetProcAddress(hMod,”MessageBoxTimeoutW”);

pMessageBoxTimeout(NULL,L”Text”,L”Titel”,MB_OK | MB_SETFOREGROUND,0,3000);

FreeLibrary(hMod);

Bitte bewerte diesen Beitrag:

MessageBox mit TimeOut: 1 Stern2 Sterne3 Sterne4 Sterne5 Sterne 5,00 von 5 Punkten, basieren auf 1 abgegebenen Stimmen.
Loading ... Loading ...