Setting the Dialog Box’s Background Color

HomeOverviewHow Do ISampleTutorial

You can set the background color of your dialog boxes by calling the CWinApp member function SetDialogBkColor in your InitInstance override. The color you set is used for all dialog boxes and message boxes.

See Also   Life Cycle of a Dialog Box