Share via


CMFCColorButton::GetAutomaticColor

Retrieves the current automatic (default) color.

COLORREF GetAutomaticColor() const;

Return Value

An RGB value representing the current automatic color.

Remarks

The current automatic color is set by the CMFCColorButton::EnableAutomaticButton method.

Requirements

Header: afxcolorbutton.h

See Also

Reference

CMFCColorButton Class

Hierarchy Chart