Share via


TBM_GETPAGESIZE (Compact 2013)

3/28/2014

This message retrieves 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.

Retrieves 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_GETPAGESIZE wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

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

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_SETPAGESIZE