为何我的MFC对话框不能居中?
我用objectarx2002+cad2002+vc++6.0编制了一MFC对话框,在对话框属性参数中,选择"More Styles"菜单,并设置了"Center"选项。编译连接后运行,可对话框并未象我要求的那样居中。郁闷!不知是何原因? 这个论坛的大狭很懒。可能他们认为这个问题不值一答,也可能是问题没说清楚。但须知,大狭也是由小狭甚至于菜鸟而来!还有别的选项。 Center Window( ) //Relative to it's parent
// Relative
to Screen
Example(2):
Center Window(CWnd:: GetDesktopWindow( ))
//Relative to
Application's MainWindow
AfxGetMainWnd( ) ->
Center Window( )
页:
[1]