Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the size of the OLE control window.
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
Note that all coordinates for control windows are relative to the upper-left corner of the control.
Requirements
Header: afxctl.h
See Also
Reference
COleControl::GetRectInContainer