vc 对话框大小设计

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

posted on 2011-03-26 22:12  zhixing  阅读(352)  评论(0编辑  收藏  举报