COleServerDoc::OnSetItemRects
The framework calls this function to position the in-place editing frame window within the container application's frame window.
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
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.
Requirements
Header: afxole.h
See Also
Reference
COleServerDoc::RequestPositionChange