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
);
Параметры
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.
Заметки
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.
Требования
Header: afxole.h
См. также
Основные понятия
COleServerDoc::RequestPositionChange