Hi,
How and where do I specify where a dialog box should appear on the screen? Such as center of screen, etc.. As it is right now, they keep appearing in the upper left hand corner of the main window.
Thanks,
Dan
Printable View
Hi,
How and where do I specify where a dialog box should appear on the screen? Such as center of screen, etc.. As it is right now, they keep appearing in the upper left hand corner of the main window.
Thanks,
Dan
In the WM_INITDIALOG window specify where to set the dialog box using SetWindowPos API. You can check the center check box in the dialog properties box to initialize the dialog box in the center of the screen.