Call this member function from within the InitInstance member function to set the default background and text color for dialog boxes and message boxes within your application.
Example
BOOL CMyApp::InitInstance()
{
// Standard initialization
SetDialogBkColor(); // Set dialog background color to gray
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// ...
}
CWinApp Overview | Class Members | Hierarchy Chart