共用方式為


CMFCColorButton::IsDrawXPTheme

Indicates whether the current color button is displayed in the visual style of Windows XP.

BOOL IsDrawXPTheme() const;

Return Value

TRUE if visual styles are supported and the current color button is displayed in the visual style of Windows XP; otherwise, FALSE.

Requirements

Header: afxcolorbutton.h

See Also

Reference

CMFCColorButton Class

Hierarchy Chart