Freigeben über


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

Reference

CMFCRibbonPanel Class

Hierarchy Chart