Condividi tramite


CMFCButton::EnableWindowsTheming

Specifies whether the style of the button border corresponds to the current Windows theme.

static void EnableWindowsTheming(
   BOOL bEnable = TRUE
);

Parameters

  • [in] bEnable
    TRUE to use the current Windows theme to draw button borders; FALSE to not use the Windows theme. The default is TRUE.

Remarks

This method affects all buttons in your application that are derived from the CMFCButton class.

Requirements

Header: afxbutton.h

See Also

Reference

CMFCButton Class

Hierarchy Chart

CMFCButton::IsWindowsThemingEnabled