搜索
MessageBox function
if (MessageBox(hwnd,L"消息",L"标题",MB_ICONEXCLAMATION|MB_YESNO)==IDYES) { MessageBox(hwnd,L"点击了\"是\"",L"标题",NULL); }
如果没有指定父窗口,则不会表现为模态。