要设置对话框的大小,可以如下实现:CRect temprect(0,0,640,480);CWnd::SetWindowPos(NULL,0,0,temprect.Width(),temprect.Height(),SWP_NOZORDER|SWP_NOMOVE);
要设置对话框的大小,可以如下实现:CRect temprect(0,0,640,480);CWnd::SetWindowPos(NULL,0,0,temprect.Width(),temprect.Height(),SWP_NOZORDER|SWP_NOMOVE);