Partilhar via


CDialogEx::SetBackgroundColor

Sets the background color of the dialog box.

void SetBackgroundColor(
   COLORREF color,
   BOOL bRepaint=TRUE 
);

Parameters

  • [in] color
    An RGB color value.

  • [in] bRepaint
    TRUE to immediately update the screen; otherwise, FALSE. The default value is TRUE.

Requirements

Header: afxdialogex.h

See Also

Reference

CDialogEx Class

Hierarchy Chart

COLORREF