SetPageSize method


Available for HScroll and VScroll objects.

Prototype

SetPageSize Proto hWnd:HWND, lPageSize:LONG

Syntax

Invoke SetPageSize, hWnd, lPageSize

Function

Sets the PageSize property for an object.

Parameters

hWnd

Handle to the object.

lPageSize

A LONG value specifying the new page size for the object.

Return value

Eax returns TRUE if succesful, or FALSE if not.