COleServerDoc::OnSetItemRects

virtual void OnSetItemRects( LPCRECT lpPosRect, LPCRECT lpClipRect );

Parameters

lpPosRect

Pointer to a RECT structure or a CRect object that specifies the in-place frame window’s position relative to the container application’s client area.

lpClipRect

Pointer to a RECT structure or a CRect object that specifies the in-place frame window’s clipping rectangle relative to the container application’s client area.

Remarks

The framework calls this function to position the in-place editing frame window within the container application’s frame window. Override this function to update the view’s zoom factor, if necessary.

This function is usually called in response to a RequestPositionChange call, although it can be called at any time by the container to request a position change for the in-place item.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::RequestPositionChange, COleIPFrameWnd::RepositionFrame, COleClientItem::SetItemRects, COleServerDoc::GetZoomFactor