The TB_ISBUTTONHIDDEN message determines whether the specified button in a toolbar is hidden.
TB_ISBUTTONHIDDEN wParam = (WPARAM) idButton; lParam = 0;
Returns nonzero if the button is hidden or zero otherwise.