win32ui.SetDialogBkColor

int = SetDialogBkColor(clrCtlBk, clrCtlText )

Sets the default background and text color for dialog boxes and message boxes within the application.

Parameters

clrCtlBk=win32ui.RGB(192, 192, 192) : int

The color for the controls background.

clrCtlText=win32ui.RGB(0, 0, 0) : int

The color for the controls text.

MFC References

CWinApp::SetDialogBkColor