BCGControlBar Library for .NET
HitTest Method (DockingPane)




The point in screen coordinates to test.

Returns a value of HitTest enumeration according to the area of the docking pane located at the screen coordinates of x and y.

Syntax
'Declaration
 
Public Overridable Function HitTest( _
   ByVal ptTest As Point _
) As HitTest
'Usage
 
Dim instance As DockingPane
Dim ptTest As Point
Dim value As HitTest
 
value = instance.HitTest(ptTest)
public virtual HitTest HitTest( 
   Point ptTest
)
public: virtual HitTest HitTest( 
   Point ptTest
) 
public:
virtual HitTest HitTest( 
   Point ptTest
) 

Parameters

ptTest
The point in screen coordinates to test.

Return Value

HTCAPTION, if the specified point is located within the caption rectangle.
HTCLIENT, if the point is located whitin the client rectangle of the docking pane.
HTERROR, if the point is situated outside the boundaries of the docking pane.

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

DockingPane Class
DockingPane Members

Send Feedback