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.
Sets the coordinates of the control's rectangle relative to the container, expressed in device units.
BOOL SetRectInContainer(
LPCRECT lpRect
);
Parameters
- lpRect
A pointer to a rectangle containing the control's new coordinates relative to the container.
Return Value
Nonzero if the call was successful; otherwise 0.
Remarks
If the control is open, it is resized; otherwise the container's OnPosRectChanged function is called.
Requirements
Header: afxctl.h
See Also
Reference
COleControl::GetRectInContainer