August 8th, 1998, 02:44 AM
How to center the BitmapPreviewFileDialog posted by Luis Ortega?
The CBitmapDialog posted in Dialog-Image Preview-(2) works well except the
bug that the Dialog is always displayed with the top-left
position at the (0,0) of MDI's client. Do you have any idea to move the
dialog to the center of the client? I have called CenterWindow() in
PreCreateWindow, or responded the message WM_SHOWWINDOW with
::MoveWindow, both doesn't work.
Click Here to Expand Forum to Full Width