Partager via


CMFCPopupMenuBar::SetButtonStyle

Sets the style of the toolbar button at the given index. (Overrides CMFCToolBar::SetButtonStyle.)

virtual void SetButtonStyle(
   int nIndex,
   UINT nStyle
);

Parameters

  • [in] nIndex
    The zero-based index of the toolbar button whose style is to be set.

  • [in] nStyle
    The style of the button. See ToolBar Control Styles for the list of available toolbar button styles.

Requirements

Header: afxpopupmenubar.h

See Also

Reference

CMFCPopupMenuBar Class

Hierarchy Chart