TBM_SETPAGESIZE

This message sets the size of the page for a trackbar. The page size affects how much the slider moves for the TB_PAGEUP and TB_PAGEDOWN notification messages.

Sets the number of logical positions the trackbar’s slider moves in response to keyboard input, such as the PAGE UP or PAGE DOWN keys, or mouse input, such as clicks in the trackbar’s channel. The logical positions are the integer increments in the trackbar’s range of minimum to maximum slider positions. 

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

  1. TBM_SETPAGESIZE wParam = 0; lParam = (LONG) lPageSize;

Parameters

lPageSize

New page size.

Return Values

Returns a 32-bit value that specifies the previous page size.

Remarks

The trackbar also sends the TB_PAGEUP and TB_PAGEDOWN notification messages to its parent window when it receives keyboard or mouse input that scrolls the page.

See Also

TBM_GETPAGESIZE