请看代码,亲测有效:CRect rect;GetDlgItem(控件ID)->GetWindowRect(&rect); 获取控件的屏幕坐标ScreenToClient(&rect); 转换为对...
-
-
方法一:网上常见的pDlg->SetWindowPos(&CWnd::wndTopMost,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);或pDlg->SetWindowPos(pDlg->GetStyle() & WS...
-
CxxxDlg dlg;dlg.Create(IDD_xxx_DIALOG, this);dlg.MoveWindow(10, 10, 100, 100);调用对话框的MoveWindow函数后,对话框不显示?调...
2016-06-07 13:51:08