MessageBox ( 1 ) win32api. MessageBox int MessageBox( HWND hWnd, LPCTSTR lpText, LPCTSTR lpCaption, UINT uType ); Requirements. Header : winuser.h (include windows.h)Library : user32.lib DLL : user32.dll example codes int DisplayResourceNAMessageBox() { int msgboxID = MessageBox( NULL, (LPCWSTR)L"Resource not available\nDo you want to try again?", (LPCWSTR)L"Account Details", MB_ICONWARNING | MB_CANCELTRYCONTINUE | MB_DEFBUTTON2 ); .. 2018. 9. 5. 이전 1 다음