CTrackbar.SetPageSizemethod
Sets the number of logical positions the trackbar's slider moves in response to keyboard input.
Syntax
FUNCTION SetPageSize (BYVAL hTrackbar AS HWND, BYVAL lPageSize AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. | |
lPageSize | New page size. |
Return value
Returns a 32-bit value that specifies the previous page size.
Description
Sets the number of logical positions the trackbar's slider moves in response to keyboard input, such as the or 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.
Remarks
The trackbar also sends a WM_HSCROLL or WM_VSCROLL message with the TB_PAGEUP and TB_PAGEDOWN notification codes to its parent window when it receives keyboard or mouse input that scrolls the page.
Reference
- Include file
CTrackbar.inc - Defined in AfxNova/CTrackbar.inc:313
- Documented in Windows/WIndows Controls/CTrackbar Class.md
- Topic: CTrackbar Class