Dela via


CMFCRibbonCategory::GetMaxHeight

Retrieves the maximum height of the ribbon panels that are contained in the ribbon category.

int GetMaxHeight(
   CDC* pDC
);

Parameters

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

Return Value

The maximum height of the ribbon panels that are contained in the ribbon category.

Remarks

The value retrieved includes the height of the top and bottom margins for the ribbon panels.

Requirements

Header: afxribboncategory.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonCategory Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.