Compartilhar via


CMFCToolBarButton::IsDrawImage

Determines whether an image is displayed on the button.

BOOL IsDrawImage() const;

Return Value

Nonzero if an image is displayed on the button; otherwise 0.

Remarks

This method returns FALSE if the toolbar button has no associated image (CMFCToolBarButton::GetImage returns -1) or if CMFCToolBarButton::m_bImage is set to FALSE.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart

CMFCToolBarButton::GetImage

CMFCToolBarButton::m_bImage