BOOL HideButton( int nID, BOOL bHide = TRUE );
Return Value
Nonzero if successful; otherwise zero.
Parameters
nID
Command identifier of the button to hide or show.
bHide
TRUE to hide the button, FALSE to show it.
Remarks
Call this function to hide or show the specified button in a toolbar control. If you want to change more than one button state, consider calling SetState instead.
CToolBarCtrl Overview | Class Members | Hierarchy Chart
See Also CToolBarCtrl::IsButtonHidden, CToolBarCtrl::EnableButton, CToolBarCtrl::CheckButton, CToolBarCtrl::PressButton, CToolBarCtrl::Indeterminate, CToolBarCtrl::GetState, CToolBarCtrl::SetState