Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
voidSetDialogBkColor(COLORREFclrCtlBk**=RGB(192,192,192),COLORREFclrCtlText=RGB(0,0,0));**
Parameters
clrCtlBk
The dialog background color for the application.
clrCtlText
The dialog control color for the application.
Remarks
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)
// ...
}