Skip to content

Latest commit

 

History

History
109 lines (89 loc) · 3.26 KB

nf-oleidl-ioleinplacesite-scroll.md

File metadata and controls

109 lines (89 loc) · 3.26 KB
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.
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
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
IOleInPlaceSite::Scroll
oleidl/IOleInPlaceSite::Scroll
c++
APIRef
kbSyntax
COM
OleIdl.h
browsewm.dll
IOleInPlaceSite.Scroll
IOleInPlaceSiteWindowless.Scroll

IOleInPlaceSite::Scroll

-description

Instructs the container to scroll the view of the object by the specified number of pixels.

-parameters

-param scrollExtant [in]

The number of pixels by which to scroll in the X and Y directions.

-returns

This method returns S_OK on success. Other possible return values include the following.

Return code Description
E_INVALIDARG
The specified pointer is not valid.
E_UNEXPECTED
An unexpected error has occurred.

-remarks

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.

Notes to Callers

Called by an active, in-place object when it is asking the container to scroll.

-see-also

IOleInPlaceObject::SetObjectRects

IOleInPlaceSite