Udostępnij za pośrednictwem


CMFCToolBarMenuButton::IsTearOffMenu

Indicates whether the drop-down menu has a tear-off bar.

virtual BOOL IsTearOffMenu() const;

Return Value

TRUE if the toolbar menu button has a tear-off bar; otherwise FALSE.

Remarks

To enable the tear-off feature and set the tear-off bar ID, call CMFCToolBarMenuButton::SetTearOff.

Requirements

Header: afxtoolbarmenubutton.h

See Also

Reference

CMFCToolBarMenuButton Class

Hierarchy Chart