共用方式為


CMFCToolBarMenuButton::IsMenuPaletteMode

Determines whether the drop-down menu is in palette mode.

BOOL IsMenuPaletteMode() const;

Return Value

TRUE if the palette mode is enabled, otherwise FALSE.

Remarks

When the menu button is set to palette mode, menu items appear in multiple columns with only a limited number of rows. Call this method to obtain the number of rows. You can enable or disable the palette mode by calling CMFCToolBarMenuButton::SetMenuPaletteMode.

Requirements

Header: afxtoolbarmenubutton.h

See Also

Reference

CMFCToolBarMenuButton Class

Hierarchy Chart