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.
void SetDialogBkColor( COLORREF clrCtlBk = RGB(192, 192, 192), COLORREF clrCtlText = RGB(0, 0, 0) );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWinApp Overview, CWinApp Member Functions, Application Architecture Classes, CWinApp::InitInstance