'trackbar location
' 检索处理TrackBar控件伙伴窗口在一个给定的位置。
' 指定的位置相对于控件方向（水平或垂直）。
'  hTrackbar : The handle of the track bar. (e.g. HWND_FORM1_SLIDER1)
'  fLocation :  Value indicating which buddy window handle will be retrieved, by relative 
'               location. This value can be one of the following:
'               TRUE: Retrieves the handle to the buddy to the left of the trackbar. If the trackbar 
'               control uses the TBS_VERT style, the message will retrieve the buddy above the trackbar.
'               FALSE: Retrieves the handle to the buddy to the right of the trackbar. If the trackbar 
'               control uses the TBS_VERT style, the message will retrieve the buddy below the trackbar
Function FF_TrackBar_GetBuddy (ByVal hTrackbar As HWND, ByVal fLocation As Long) As Long

         Function = SendMessage(hTrackbar, TBM_GETBUDDY, fLocation, 0)

End Function
