Tells the container to scroll the view of the object by a specified number of pixels.
HRESULT Scroll(
SIZE scrollExtent //Number of pixels
);
This method supports the standard return values E_INVALIDARG and E_UNEXPECTED, as well as the following:
As a result of scrolling, the object's visible rectangle can change. If that happens, the container should give the new ClipRect to the object by calling IOleInPlaceObject::SetObjectRects. The intersection of the ClipRect and PosRect rectangles gives the new visible rectangle. See IOleInPlaceSite::GetWindowContext for a discussion of ClipRect and PosRect.
Called by an active, in-place object when it is asking the container to scroll.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.
IOleInPlaceObject::SetObjectRects