Compartilhar via


CMFCToolBarButton::IsDrawText

Determines whether a text label is displayed on the button.

BOOL IsDrawText() const;

Return Value

Nonzero if a text label is displayed; otherwise 0.

Remarks

This method returns FALSE if the toolbar button has no associated text label (CMFCToolBarButton::m_strText is empty) or CMFCToolBarButton::m_bText is set to FALSE.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart

CMFCToolBarButton::m_strText

CMFCToolBarButton::m_bText