COleControl::GetControlSize

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

参数:
pcx指定控件的宽度(以像素为单位)。
pcy指定控件的高度(以像素为单位)。

说明:
调用该函数获取OLE控件窗口的尺寸。
注意控件窗口的坐标是相对于控件的左上角的坐标。

请参阅:
COleControl::GetRectInContainer, COleControl::SetControlSize