COleControl::GetControlSize

检索OLE控件窗口的大小。

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

参数

  • pcx
    以像素为单位指定控件的宽度。

  • pcy
    以像素为单位指定控件的高度。

备注

请注意控件窗口的所有坐标系是相对于控件的左上角。

要求

Header: afxctl.h

请参见

参考

COleControl选件类

层次结构图

COleControl::GetRectInContainer

COleControl::SetControlSize