Freigeben über


CMFCToolBarMenuButton::GetPaletteRows

Returns the number of rows in the drop-down menu when the menu is in palette mode.

int GetPaletteRows() const;

Return Value

The number of rows in the palette.

Remarks

When the menu button is set to palette mode, menu items will 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 palette mode and specify the number of rows using CMFCToolBarMenuButton::SetMenuPaletteMode.

Requirements

Header: afxtoolbarmenubutton.h

See Also

Reference

CMFCToolBarMenuButton Class

Hierarchy Chart