2016年2月17日

mfc基于对话框的应用程序,如何设置初始对话框大小,移动控件位置

摘要: 1 void MmPLEntPropertyDlg::SetInitDialogSize() 2 { 3 CRect rectDlg; 4 GetWindowRect(rectDlg);//x,y为对话框左上角的坐标 w,h为对话框的宽高 5 ::SetWindowPos(this->m_hWnd, 阅读全文

posted @ 2016-02-17 14:22 lpx15312 阅读(834) 评论(0) 推荐(0)

导航