BCGControlBar Library for .NET
InitTracker Method




The control to be tracked.
The position of the cursor on the control before tracking.
Initializes the tracking of the specified control.  This function creates a tracker for the tracked control according the position of mouse cursor over it. If the control was docked before starting the tracking it becomes floating. This function is called by the framework on mouse events which cause the begin of tracking.
Syntax
'Declaration
 
Public Sub InitTracker( _
   ByVal trackedControl As Control, _
   ByVal ptHotPoint As Point _
) 
'Usage
 
Dim instance As DockManager
Dim trackedControl As Control
Dim ptHotPoint As Point
 
instance.InitTracker(trackedControl, ptHotPoint)
public void InitTracker( 
   Control trackedControl,
   Point ptHotPoint
)
public: void InitTracker( 
   Control* trackedControl,
   Point ptHotPoint
) 
public:
void InitTracker( 
   Control^ trackedControl,
   Point ptHotPoint
) 

Parameters

trackedControl
The control to be tracked.
ptHotPoint
The position of the cursor on the control before tracking.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DockManager Class
DockManager Members

Send Feedback