#include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL,"Hello,World","My first Dialog",MB_YESNO); return 0; }
#include<windows.h> main() { MessageBox(NULL,"Dialog","Msg",MB_OKCANCEL); }