Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- INT WINAPI wWinMain(HINSTANCE hInst,
- HINSTANCE hPrevInst,
- LPWSTR lpCmdLine,
- INT nShowCmd)
- {
- int nResult=MessageBox(NULL,
- "Gan,ada yang error, Gimana nih????!!",
- "WALAH!",
- MB_ICONERROR|MB_ABORTRETRYIGNORE);
- switch(nResult)
- {
- case IDABORT:
- // 'Abort' was pressed
- break;
- case IDRETRY:
- // 'Retry' was pressed
- break;
- case IDIGNORE:
- // 'Ignore' was pressed
- break;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment