'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.
'  lMaximum  : Maximum position for the slider.
Sub FF_TrackBar_SetRangeMax (ByVal hTrackbar As HWND, ByVal fRedraw As Long, ByVal lMaximum As Long)
   
    SendMessage hTrackbar, TBM_SETRANGEMAX, fRedraw, lMaximum

End Sub
