'trackbar buddy
' 作为合作者窗口 trackbar 控件分配一个窗口。Trackbar 好友窗口自动显示在相对于该控件的方向 (水平或垂直) 位置。
'  hTrackbar : The handle of the track bar. (e.g. HWND_FORM1_SLIDER1)
'  fLocation : 指定要显示其合作者窗口的位置的值。 此值可以是下列之一:
'              TRUE : The buddy will appear to the left of the trackbar if the trackbar control 
'              uses the TBS_HORZ style. If the trackbar uses the TBS_VERT style, the buddy appears 
'              above the trackbar control.
'              FALSE : The buddy will appear to the right of the trackbar if the trackbar control 
'              uses the TBS_HORZ style. If the trackbar uses the TBS_VERT style, the buddy appears 
'              below the trackbar control.
'  hwndBuddy : Handle to the window that will be set as the trackbar control's buddy.
Function FF_TrackBar_SetBuddy (ByVal hTrackbar as HWnd, ByVal fLocation as Long, ByVal hwndBuddy as HWnd) as Long

         Function = SendMessage (hTrackbar, TBM_SETBUDDY, fLocation, Cast(LPARAM,hwndBuddy))

End Function
