Partager via


CMFCVisualManager::IsOfficeXPStyleMenus

Indicates whether the visual manager implements Office XP-style menus.

virtual BOOL IsOfficeXPStyleMenus() const;

Return Value

Nonzero if the visual manager displays Office XP-style menus; otherwise 0.

Remarks

The CMFCPopupMenu Class calls this method when it has to draw the menu and shadow. By default, this method returns FALSE. If you want to use pop-up menus similar to the pop-up menus in Office XP, override this method in a custom visual manager and return TRUE.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCPopupMenu Class