Table of Contents

Method SetScrollPos

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

SetScrollPos(IntPtr, bool, int, bool)

Sets the position of the scroll box (thumb) in the specified scroll bar.

public static void SetScrollPos(IntPtr handle, bool flat, int pos, bool isVertical)

Parameters

handle IntPtr

Handle to a scroll bar control or a window with a standard scroll bar.

flat bool

Indicates whether scroll bar is flat.

pos int

Specifies the position of the scroll box.

isVertical bool

Indicates whether scroll bar is vertical or horizontal.