case WM_KEYDOWN: if( wParam == VK_ESCAPE ) int yesno = MessageBox(0, "Do you really want to quit?", "Msg", MB_YESNO); if( yesno == IDYES ) DestroyWindow(ghMainWnd); return 0;
case WM_KEYDOWN: if( wParam == VK_ESCAPE ) { int yesno = MessageBox(0, "Do you really want to quit?", "Msg", MB_YESNO); if( yesno == IDYES ) DestroyWindow(ghMainWnd); } return 0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)