COleControl::ClientToParent

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

Parameters

lprcBounds

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.

pPoint

Pointer to the OLE client area point to be translated into the coordinates of the parent (container).

Remarks

Call this function to translate the coordinates of pPoint into parent coordinates. 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).

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::ParentToClient, COleControl::GetClientOffset