Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The latest version of this topic can be found at Setting the Dialog Box.
You can set the background color of your dialog boxes by handling WM_CTLCOLOR
messages for the dialog box window. The color you set is used for only the specified dialog box.
See Also
Life Cycle of a Dialog Box
Handling Windows Messages in Your Dialog Box