CWinApp::SetDialogBkColor

This method is called from within the InitInstance method to set the default background and text color for dialog boxes and message boxes within your application.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

CWinApp::InitInstance