Partager via


CMFCToolBarMenuButton::SetMenuPaletteMode

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

void SetMenuPaletteMode(
   BOOL bMenuPaletteMode=TRUE,
   int nPaletteRows=1 
);

Parameters

  • [in] bMenuPaletteMode
    Specifies whether the drop-down menu is in palette mode.

  • [in] nPaletteRows
    Number of rows in palette.

Remarks

In the palette mode, all menu items are displayed as a multicolumn palette. You specify the number of rows by using nPaletteRows.

Requirements

Header: afxtoolbarmenubutton.h

See Also

Reference

CMFCToolBarMenuButton Class

Hierarchy Chart