Compartir a través de


CComCompositeControl::CalcExtent

Call this method to calculate the size in HIMETRIC units of the dialog resource used to host the composite control.

BOOL CalcExtent( 
   SIZE& size  
);

Parameters

  • size
    A reference to a SIZE structure to be filled by this method.

Return Value

TRUE if the control is hosted by a dialog box; otherwise FALSE.

Remarks

The size is returned in the size parameter.

Requirements

Header: atlcom.h

See Also

Reference

CComCompositeControl Class

AtlPixelToHiMetric