Share via


TBM_SETPAGESIZE (Windows CE 5.0)

Send Feedback

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 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.

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

Parameters

  • wParam
    Not used.
  • 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 messages to its parent window when it receives keyboard or mouse input that scrolls the page.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TBM_GETPAGESIZE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.