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