Compartilhar via


CMFCColorMenuButton::GetAutomaticColor

Retrieves the current automatic color.

COLORREF GetAutomaticColor() const;

Return Value

An RGB color value that represents the current automatic color.

Remarks

Call this method to obtain the automatic color that is set by CMFCColorMenuButton::EnableAutomaticButton.

Requirements

Header: afxcolormenubutton.h

See Also

Reference

CMFCColorMenuButton Class

Hierarchy Chart

COLORREF