CMFCToolBar::GetButtonStyle

Returns the current style of the toolbar button that is located at the specified index.

UINT GetButtonStyle(
   int nIndex 
) const;

Parameters

  • [in] nIndex
    Specifies the index of a toolbar button.

Return Value

A value that specifies the style of the toolbar button. . See ToolBar Control Styles for a list of possible styles.

Remarks

Call CMFCToolBar::SetButtonStyle to set the style of a toolbar button

Requirements

Header: afxtoolbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBar Class