高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】为何我的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( )
|