Condividi tramite


CMFCToolBarButton::SetStyle

Sets the style of the button.

virtual void SetStyle(
   UINT nStyle 
);

Parameters

  • [in] nStyle
    The new style of the button.

Remarks

The default implementation sets the CMFCToolBarButton::m_nStyle data member to nStyle. Override this method if you want to perform additional processing to handle the change in style. See ToolBar Control Styles for a list of valid style flags.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart

CMFCToolBarButton::m_nStyle

ToolBar Control Styles