Share via


CMFCRibbonCheckBox::GetIntermediateSize

Gets the intermediate size of the checkbox.

virtual CSize GetIntermediateSize(
   CDC* pDC
);

Parameters

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

Return Value

A CSize object containing the intermediate size of the checkbox.

Remarks

If not overridden, calculates the intermediate size as the default checkbox size (AFX_CHECK_BOX_DEFAULT_SIZE) plus the text size, plus margins.

Requirements

Header: afxribboncheckbox.h

See Also

Reference

CMFCRibbonCheckBox Class

Hierarchy Chart