TBM_GETPOS
The TBM_GETPOS message retrieves the current position of the slider in a trackbar.
wParam = 0;
lParam = 0;
Return Values
Returns a 32-bit value that specifies the current position.