Setting the Dialog Box’s Background Color

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

Concepts

Life Cycle of a Dialog Box

Handling Windows Messages in Your Dialog Box