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:
TBBS_BUTTON Standard pushbutton (default)
TBBS_SEPARATOR Separator
TBBS_CHECKBOX Auto check-box button
TBBS_GROUP Marks the start of a group of buttons
TBBS_CHECKGROUP Marks the start of a group of check-box buttons
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 Overview | Class Members | Hierarchy Chart
See Also CToolBar::GetButtonStyle