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/Rax returns TRUE if successful, or FALSE if not.