Compartilhar 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

Reference

CMFCRibbonCategory Class

Hierarchy Chart