Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
BOOLPressButton(intnID**,BOOLbPress=TRUE);**
Return Value
Nonzero if successful; otherwise zero.
Parameters
nID
Command identifier of the button to press or release.
bPress
TRUE to press the specified button; FALSE to release the specified button.
Remarks
Call this function to press or release 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::IsButtonPressed, CToolBarCtrl::EnableButton, CToolBarCtrl::CheckButton, CToolBarCtrl::HideButton, CToolBarCtrl::Indeterminate, CToolBarCtrl::GetState, CToolBarCtrl::SetState