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

Concepts

MFC Hierarchy Chart

Reference

CMFCColorButton Class