CWinApp::SetDialogBkColor

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.

Syntax

void SetDialogBkColor( COLORREF clrCtlBk = RGB(192, 192, 192), COLORREF clrCtlText = RGB(0, 0, 0) );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWinApp Overview, CWinApp Member Functions, Application Architecture Classes, CWinApp::InitInstance