Table of Contents

Method SetScrollBar

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

SetScrollBar(IntPtr, bool, int, int, bool)

Sets the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb).

public static void SetScrollBar(IntPtr handle, bool flat, int size, int pageSize, 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.

size int

Specifies the maximum scrolling position.

pageSize int

Specifies the page size.

isVertical bool

Indicates whether scroll bar is vertical or horizontal.