'trackbar position
' 在跟踪条设置当前选择范围的结束逻辑位置。
' 如果跟踪条没有 TBS_ENABLESELRANGE 风格，将忽略此消息。
'  hTrackbar : The handle of the track bar. (e.g. HWND_FORM1_SLIDER1)
'  fRedraw   : 重绘标记. If this parameter is TRUE, the message redraws the trackbar 
'              after the selection range is set. If this parameter is FALSE, the message sets the selection 
'              range but does not redraw the trackbar.
'  lEnd      : Ending logical position of the selection range.
Sub FF_TrackBar_SetSelEnd (ByVal hTrackbar As HWND, ByVal fRedraw As Long, ByVal lEnd As Long)

    SendMessage hTrackbar, TBM_SETSELEND, fRedraw, lEnd

End Sub
