Share via


TBM_SETPAGESIZE (Compact 2013)

3/28/2014

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.

Syntax

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

Parameters

  • wParam
    Not used.
  • lPageSize
    New page size.

Return Value

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

Header

commctrl.h

See Also

Reference

Trackbar Controls Messages
TBM_GETPAGESIZE