TBM_GETPOS message

Retrieves the current logical position of the slider in a trackbar. The logical positions are the integer values in the trackbar's range of minimum to maximum slider positions.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns a 32-bit value that specifies the current logical position of the trackbar's slider.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

TBM_SETPOS