This documentation is archived and is not being maintained.


Translates the coordinates of pPoint into parent coordinates.

virtual void ClientToParent(
   LPCRECT lprcBounds,
   LPPOINT pPoint 
) const;


Pointer to the bounds of the OLE control within the container. Not the client area but the area of the entire control including borders and scroll bars.
Pointer to the OLE client area point to be translated into the coordinates of the parent (container).


On input pPoint is relative to the origin of the client area of the OLE control (upper left corner of the client area of the control). On output pPoint is relative to the origin of the parent (upper left corner of the container).

See Also

COleControl Overview | Class Members | Hierarchy Chart | COleControl::ParentToClient | COleControl::GetClientOffset