TB_HIDEBUTTON message

Hides or shows the specified button in a toolbar.

Parameters

wParam

Command identifier of the button to hide or show.

lParam

The LOWORD is a BOOL that indicates whether to hide or show the specified button. If TRUE, the button is hidden. If FALSE, the button is shown.

The HIWORD must be zero.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h