COleControl::SetControlSize
Sets the size of the OLE control window and notifies the container that the control site is changing.
BOOL SetControlSize(
int cx,
int cy
);
Parameters
cx
Specifies the new width of the control in pixels.cy
Specifies the new height of the control in pixels.
Return Value
Nonzero if the call was successful; otherwise 0.
Remarks
This function should not be used in your control's constructor.
Note that all coordinates for control windows are relative to the upper-left corner of the control.
Requirements
Header: afxctl.h