Partilhar via


CMFCColorDialog::GetColor

Retrieves the color that the user selects from the color dialog.

COLORREF GetColor() const;

Return Value

A COLORREF value that contains the RGB information for the color selected in the color dialog box.

Remarks

Call this function after you call the DoModal method.

Requirements

Header: afxcolordialog.h

See Also

Reference

CMFCColorDialog Class

Hierarchy Chart