CMFCRibbonBaseElement::GetCompactSize

Returns the compact size of the ribbon element.

virtual CSize GetCompactSize(
   CDC* pDC 
);

Parameters

  • [in] pDC
    A pointer to a device context.

Return Value

The compact size of a ribbon element.

备注

The compact size means that the ribbon element is truncated (it displays a small image, or an image without a text).

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart