查看单个帖子
旧 2009-04-16, 07:27 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】为何我的mfc对话框不能居中?

为何我的mfc对话框不能居中?
为何我的mfc对话框不能居中?
我用objectarx
这个论坛的大狭很懒。可能他们认为这个问题不值一答,也可能是问题没说清楚。但须知,大狭也是由小狭甚至于菜鸟而来!
还有别的选项。
center window( ) //relative to it's parent
// relative
to screen
example(2):
center window(cwnd:: getdesktopwindow( ))
//relative to
application's mainwindow
afxgetmainwnd( ) ->
center window( )
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)