Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
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