Udostępnij za pośrednictwem


CMFCToolBarEditBoxButton::SetStyle

Specifies the style of a toolbar edit box control.

virtual void SetStyle(
   UINT nStyle 
);

Parameters

  • [in] nStyle
    A new style to set.

Remarks

This method sets CMFCToolBarButton::m_nStyle to nStyle It also disables the text box when the application is in Customize mode, and enables it when the application is not in Customize mode (see CMFCToolBar::SetCustomizeMode and CMFCToolBar::IsCustomizeMode). See ToolBar Control Styles for a list of valid style flags.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart