MessageBox mit TimeOut
28. April 2007typedef 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);
[WINAPI]
Seite 1 von 11

