Share via


CMFCRibbonGallery::EnableMenuResize

Enables or disables resizing of the menu panel.

void EnableMenuResize(
    BOOL bEnable = TRUE,
    BOOL bVertcalOnly = FALSE 
);

Parameters

  • [in] bEnable
    TRUE to enable resizing the menu; otherwise, FALSE.

  • [in] bVertcalOnly
    TRUE to specify that the gallery can be resized only vertically; FALSE to specify that the gallery can be resized both vertically and horizontally.

Remarks

Use this method to enable or disable resizing the ribbon gallery. When resizing is enabled, the ribbon gallery displays a gripper that a user can use to resize it.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Reference

CMFCRibbonGallery Class

Hierarchy Chart