Share via


CMFCRibbonBaseElement::SetInitialMode

Sets the initial display size for the ribbon element.

virtual void SetInitialMode(
   BOOL bOneRow = FALSE
);

Parameters

  • [in] bOneRow
    TRUE to limit the display size for the ribbon element to compact or intermediate; otherwise, FALSE.

Remarks

The display size of ribbon elements can be compact, intermediate, or large.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart