CMFCRibbonBaseElement::OnCalcTextSize

Calculates the size of the text for the ribbon element.

virtual void OnCalcTextSize(
   CDC* pDC
);

Parameters

  • [in] pDC
    This parameter is not used.

Remarks

By default this method does nothing. Override this method to calculate the size of the text for the ribbon element.

Requirements

Header: afxbaseribbonelement.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonBaseElement Class