Share via


CMFCRibbonCheckBox::GetCompactSize

When overridden, gets the compact size of the checkbox.

virtual CSize GetCompactSize(
   CDC* pDC
);

Parameters

  • [in] pDC
    Pointer to the CDC associated with the checkbox.

Return Value

Returns a CSize object that contains the compact size of the checkbox.

Remarks

If not overridden, returns the intermediate size of the checkbox.

Requirements

Header: afxribboncheckbox.h

See Also

Reference

CMFCRibbonCheckBox Class

Hierarchy Chart