vc 对话框大小设计 可以将代码添加到初始化程序中:(比如设置成640*480) CRect temprect(0,0,640,480); CWnd::SetWindowPos(NULL,0,0,temprect.Width(),temprect.Height(),SWP_NOZORDER|SWP_NOMOVE);