Share via


TBM_GETPOS (Compact 2013)

3/28/2014

This message retrieves the current position of the slider in a trackbar.

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.

Syntax

TBM_GETPOS wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

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

Requirements

Header

commctrl.h

See Also

Reference

Trackbar Controls Messages
TBM_SETPOS