Indicates the object's extents have changed.
HRESULT OnPosRectChange(
LPCRECT lprcPosRect //Pointer to rectangle containing the
// position of in-place object
);
This method supports the standard return values E_INVALIDARG and E_UNEXPECTED, as well as the following:
The IOleInPlaceSite::OnPosRectChange method is called by the in-place object.
When the in-place object calls IOleInPlaceSite::OnPosRectChange, the container must call IOleInPlaceObject::SetObjectRects to specify the new position of the in-place window and the ClipRect. Only then does the object resize its window.
In most cases, the object grows to the right and/or down. There could be cases where the object grows to the left and/or up, as conveyed through lprcPosRect. It is also possible to change the object's position without changing its size.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.
IOleInPlaceObject::SetObjectRects