Share via


CMFCRibbonPanel::RecalcWidths

Recalculates the width of each display layout configuration for the ribbon panel.

virtual void RecalcWidths(
   CDC* pDC,
   int nHeight
);

Parameters

  • [in] pDC
    Pointer to a device context for the ribbon panel.

  • [in] nHeight
    The height of the ribbon panel.

Remarks

A ribbon panel changes its layout configuration as the available width changes.

Requirements

Header: afxribbonpanel.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonPanel Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.