CMFCColorDialog::CMFCColorDialog

Constructs a CMFCColorDialog object.

CMFCColorDialog(
   COLORREF clrInit=0,
   DWORD dwFlags=0,
   CWnd* pParentWnd=NULL,
   HPALETTE hPal=NULL 
);

Parameters

  • [in] clrInit
    The default color selection. If no value is specified, the default is RGB(0,0,0) (black).

  • [in] dwFlags
    (Reserved.)

  • [in] pParentWnd
    A pointer to the dialog box's parent or owner window.

  • [in] hPal
    A handle to a color palette.

Requirements

Header: afxcolordialog.h

See Also

Reference

CMFCColorDialog Class

Hierarchy Chart