The information in this article applies to:
SUMMARY
When an application developed for the Microsoft Windows graphical
environment displays a dialog box, centering the dialog box on the
screen is sometimes desirable. However, on systems with high-
resolution displays, the application displaying the dialog box may be
nowhere near the center of the screen. In these cases, it is
preferable to place the dialog near the application requesting input.
This code centers the dialog horizontally and vertically.
Under Windows 95 or later and NT 4.0 or later, the style DS_CENTER to get the same effect. Additional query words:
Keywords : kbDlg kbNTOS350 kbNTOS351 kbGrpUser |
Last Reviewed: December 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |