TB_HIDEBUTTON (Compact 2013)
3/28/2014
In a toolbar, this message hides or shows the specified button.
In a central menu, this message enables or disables the specified menu item.
Syntax
TB_HIDEBUTTON
wParam = (WPARAM) idButton;
lParam = (LPARAM) MAKELONG (fShow, 0);
Parameters
- idButton
Command identifier of the button or menu item to hide or show.
- fShow
A Boolean value specifying whether the button or menu item is hidden or not. If set to TRUE, the button is hidden. If set to FALSE, the button is shown.
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
In central menus, this message disables the specified menu item, because there is no way to hide a menu item.
Requirements
Header |
commctrl.h |