BCGControlBar Library for .NET
CalcExpectedDockedRect(DockInfo,Rectangle,Control,Point) Method




The rectangle of the tracked control in screen coordinates.
The tracking control to calculate the expected docking rectangle.
The current position of the mouse cursor during the tracking in client coordinates.
Called by the framework on tracking docking pane. Returns the object of the DockInfo class with an information about the expected dock state and layout of the docking pane  when the mouse cursor is located on the specified position during the tracking.
Syntax
'Declaration
 
Public Overloads Sub CalcExpectedDockedRect( _
   ByRef param1 As DockInfo, _
   ByVal rect As Rectangle, _
   ByVal control As Control, _
   ByVal ptHotPoint As Point _
) 
'Usage
 
Dim instance As DockManager
Dim param1 As DockInfo
Dim rect As Rectangle
Dim control As Control
Dim ptHotPoint As Point
 
instance.CalcExpectedDockedRect(param1, rect, control, ptHotPoint)
public void CalcExpectedDockedRect( 
   ref DockInfo param1,
   Rectangle rect,
   Control control,
   Point ptHotPoint
)
public: void CalcExpectedDockedRect( 
   ref DockInfo* param1,
   Rectangle rect,
   Control* control,
   Point ptHotPoint
) 
public:
void CalcExpectedDockedRect( 
   DockInfo^% param1,
   Rectangle rect,
   Control^ control,
   Point ptHotPoint
) 

Parameters

param1
rect
The rectangle of the tracked control in screen coordinates.
control
The tracking control to calculate the expected docking rectangle.
ptHotPoint
The current position of the mouse cursor during the tracking in client coordinates.
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
Overload List

Send Feedback