Share via


CToolBarCtrl::IsButtonHidden

Determines whether the specified button in a toolbar control is hidden.

BOOL IsButtonHidden( 
   int nID  
) const;

Parameters

  • nID
    Command identifier of the button in the toolbar.

Return Value

Nonzero if the button is hidden; otherwise zero.

Remarks

Consider calling GetState if you want to retrieve more than one button state.

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::HideButton

CToolBarCtrl::GetState

CToolBarCtrl::SetState

CToolBarCtrl::IsButtonEnabled

CToolBarCtrl::IsButtonChecked

CToolBarCtrl::IsButtonPressed

CToolBarCtrl::IsButtonIndeterminate

CToolBarCtrl::IsButtonHighlighted

Other Resources

CToolBarCtrl Members