共用方式為


CMFCColorButton::GetColor

Retrieves the currently selected color.

COLORREF GetColor() const;

Return Value

An RGB value.

Requirements

Header: afxcolorbutton.h

See Also

Reference

CMFCColorButton Class

Hierarchy Chart