Partager via


TBM_SETPAGESIZE (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Trackbar Controls Messages
TBM_GETPAGESIZE