'trackbar position
' 在跟踪条设置最小和最大的逻辑位置滑块的范围。
'  hTrackbar : The handle of the track bar. (e.g. HWND_FORM1_SLIDER1)
'  fRedraw   : Redraw flag. If this parameter is TRUE, the trackbar is redrawn after 
'              the range is set. If this parameter is FALSE, the message sets the range but does 
'              not redraw the trackbar.
'  lMinimum  : Minimum position for the slider.
'  lMaximum  : Maximum position for the slider.
Sub FF_TrackBar_SetRange (ByVal hTrackbar as HWnd, ByVal fRedraw as Long, ByVal lMinimum as Long, ByVal lMaximum as Long)
   
   SendMessage hTrackbar, TBM_SETRANGE, fRedraw, Cast(LPARAM, MAKELONG( lMinimum, lMaximum))

End Sub
