IOleInPlaceSiteWindowless::ScrollRect Method (Int32, Int32, array<RECT>^, array<RECT>^)

 

Enables an object to scroll an area within its in-place active image on the screen.

Namespace:   Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

void ScrollRect(
	int dx,
	int dy,
	array<RECT>^ pRectScroll,
	array<RECT>^ pRectClip
)

Parameters

dx
Type: System::Int32

[in] Amount to scroll on the x-axis.

dy
Type: System::Int32

[in] Amount to scroll on the y-axis.

pRectScroll
Type: array<Microsoft.VisualStudio.OLE.Interop::RECT>^

[in] Rectangle to scroll, in client coordinates of the containing window. NULL means the full object.

pRectClip
Type: array<Microsoft.VisualStudio.OLE.Interop::RECT>^

[in] Rectangle to clip to as defined for the Windows API function. Only pixels scrolling into this rectangle are drawn. Pixels scrolling out are not. If this parameter is NULL, the rectangle is not clipped.

For information on the COM interface, see 1EEB1AEE-8CD4-4D27-8B6F-F76305BBE69F

Return to top
Show: