CToolBar::SetButtonStyle

void SetButtonStyle( int nIndex, UINT nStyle );

Parameters

nIndex

Index of the button or separator whose information is to be set.

nStyle

The button style. The following button styles are supported:

Remarks

Call this member function to set the style of a button or separator, or to group buttons. A button's style determines how the button appears and how it responds to user input.

Before calling SetButtonStyle, call the GetButtonStyle member function to retrieve the button or separator style.

CToolBar OverviewClass MembersHierarchy Chart

See Also   CToolBar::GetButtonStyle