COleControl::GetControlSize
检索OLE控件窗口的大小。
void GetControlSize(
int* pcx,
int* pcy
);
参数
pcx
以像素为单位指定控件的宽度。pcy
以像素为单位指定控件的高度。
备注
请注意控件窗口的所有坐标系是相对于控件的左上角。
要求
Header: afxctl.h
检索OLE控件窗口的大小。
void GetControlSize(
int* pcx,
int* pcy
);
pcx
以像素为单位指定控件的宽度。
pcy
以像素为单位指定控件的高度。
请注意控件窗口的所有坐标系是相对于控件的左上角。
Header: afxctl.h