Export (0) Print
Expand All

CToolBar::GetButtonStyle

Call this member function to retrieve the style of a button or separator on the toolbar.

UINT GetButtonStyle(
   int nIndex 
) const;

Parameters

nIndex
The index of the toolbar button or separator style to be retrieved.

Return Value

The style of the button or separator specified by nIndex.

Remarks

A button's style determines how the button appears and how it responds to user input. See SetButtonStyle for examples of button styles.

See Also

CToolBar Overview | Class Members | Hierarchy Chart | CToolBar::SetButtonStyle

Show:
© 2015 Microsoft