UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:oleidl.IOleInPlaceSite.Scroll |
IOleInPlaceSite::Scroll (oleidl.h) |
Instructs the container to scroll the view of the object by the specified number of pixels. |
|
com\ioleinplacesite_scroll.htm |
com |
a169c4c6-b600-4812-bf71-d7fcd7486ff1 |
12/05/2018 |
IOleInPlaceSite interface [COM],Scroll method, IOleInPlaceSite.Scroll, IOleInPlaceSite::Scroll, IOleInPlaceSiteWindowless.Scroll, Scroll, Scroll method [COM], Scroll method [COM],IOleInPlaceSite interface, _ole_ioleinplacesite_scroll, com.ioleinplacesite_scroll, oleidl/IOleInPlaceSite::Scroll |
oleidl.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
OleIdl.Idl |
Windows |
19H1 |
|
|
|
|
|
|
Instructs the container to scroll the view of the object by the specified number of pixels.
The number of pixels by which to scroll in the X and Y directions.
This method returns S_OK on success. Other possible return values include the following.
Return code | Description |
---|---|
|
The specified pointer is not valid. |
|
An unexpected error has occurred. |
As a result of scrolling, the object's visible rectangle can change. If that happens, the container should give the new clipping rectangle to the object by calling IOleInPlaceObject::SetObjectRects. The intersection of the lprcClipRect and lprcPosRect rectangles gives the new visible rectangle. See IOleInPlaceSite::GetWindowContext for more information.
Called by an active, in-place object when it is asking the container to scroll.