COleControl::GetControlSize

void GetControlSize( int* pcx, int* pcy );

Parameters

pcx

Specifies the width of the control in pixels.

pcy

Specifies the height of the control in pixels.

Remarks

Call this function to retrieve the size of the OLE control window.

Note that all coordinates for control windows are relative to the upper-left corner of the control.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::GetRectInContainer, COleControl::SetControlSize