几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】为何我的mfc对话框不能居中? (http://www.dimcax.com/hust/showthread.php?t=7098)

yang686526 2009-04-16 07:27 PM

【转帖】为何我的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( )


所有的时间均为北京时间。 现在的时间是 01:55 AM.