CMFCButton::IsWindowsThemingEnabled
Indicates whether the style of the button border corresponds to the current Windows theme.
static BOOL IsWindowsThemingEnabled();
Return Value
TRUE if the style of the button border corresponds to the current Windows theme; otherwise, FALSE.
Requirements
Header: afxbutton.h