The TB_HIDEBUTTON message hides or shows the specified button in a toolbar.
TB_HIDEBUTTON
wParam = (WPARAM) idButton;
lParam = (LPARAM) MAKELONG(fShow, 0);
Parameters
idButton
Command identifier of the button to hide or show.
fShow
Show flag. If this parameter is TRUE, the button is hidden. If it is FALSE, the button is shown.
Return Values
Returns TRUE if successful or FALSE otherwise.