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.
Hides or shows the specified button in a toolbar control.
BOOL HideButton(
int nID,
BOOL bHide = TRUE
);
Parameters
nID
Command identifier of the button to hide or show.bHide
TRUE to hide the button, FALSE to show it.
Return Value
Nonzero if successful; otherwise zero.
Remarks
If you want to change more than one button state, consider calling SetState instead.
Requirements
Header: afxcmn.h