共用方式為


CMFCPopupMenuBar::IsPaletteMode

Indicates whether the popup menu bar is in palette mode.

BOOL IsPaletteMode() const;

Return Value

Returns TRUE if palette mode is enabled, or FALSE if not.

Remarks

When the menu bar is set to palette mode, menu items appear in multiple columns and a limited number of rows.

Requirements

Header: afxpopupmenubar.h

See Also

Reference

CMFCPopupMenuBar Class

Hierarchy Chart