TOP Win32API
int MessageBox(
HWND hWnd,
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType
);
int MessageBoxEx(
HWND hWnd,
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType,
WORD wLanguageId
);
int MessageBox(
HWND hWnd,
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType
);
int MessageBoxEx(
HWND hWnd,
LPCTSTR lpText,
LPCTSTR lpCaption,
UINT uType,
WORD wLanguageId
);
MB_ABORTRETRYIGNORE | Abort, Retry, and Ignore. | |
MB_CANCELTRYCONTINUE | 2000/XP | Cancel, Try Again, Continue |
MB_HELP | Help | |
MB_OK | OK | |
MB_OKCANCEL | OK and Cancel | |
MB_RETRYCANCEL | Retry and Cancel | |
MB_YESNO | Yes and No | |
MB_YESNOCANCEL | Yes, No, and Cancel |
MB_ICONEXCLAMATION | exclamation-point | |
MB_ICONWARNING | exclamation-point | |
MB_ICONINFORMATION | (i) | |
MB_ICONASTERISK | (i) | |
MB_ICONQUESTION | (?) | not recommended to use |
MB_ICONSTOP | stop-sign | |
MB_ICONERROR | stop-sign | |
MB_ICONHAND | stop-sign |
MB_DEFBUTTON1 | first button |
MB_DEFBUTTON2 | second button |
MB_DEFBUTTON3 | third button |
MB_DEFBUTTON4 | fourth button |
MB_APPLMODAL | wait user response. | default |
MB_SYSTEMMODAL | WS_EX_TOPMOST style | serious errors |
MB_TASKMODAL | hWnd不明でMODALにしたいとき |
MB_DEFAULT_DESKTOP_ONLY | NT/2000/XP | |
MB_RIGHT | right-justified | |
MB_RTLREADING | right-to-left reading order | |
MB_SETFOREGROUND | SetForegroundWindow() | |
MB_TOPMOST | WS_EX_TOPMOST style | |
MB_SERVICE_NOTIFICATION | NT/2000/XP | hWnd=NULL |
MB_SERVICE_NOTIFICATION_NT3X | NT/2000/XP |
0 | default system language |
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL) | the current language associated with the calling thread |
MAKELANGID() | specify a language |
最新コメント