|
发表于 2019-10-10 19:16:10
|
显示全部楼层
- WM_HWIN AppDlgMessage(WM_HWIN hParent, char * ptr) {
- WM_HWIN hWin;
- message_ptr = ptr;
- hWin = GUI_CreateDialogBox(_aDialogCreate, GUI_COUNTOF(_aDialogCreate), _cbDialog, hParent, 240, 128);
- WM_MakeModal(hWin);
- WM_SetStayOnTop(hWin, 1);
-
- return hWin;
- }
复制代码
把要弹的窗口模态化,这样在这个窗口关闭前,其它区域不可操作 |
|