BCGControlBar Library for .NET
HitTest Method (MiniFrame)




The point in screen coordinates to retrieve.

Retrieves the type of the area at the specified screen coordinates. If the point belongs to the caption area, BCGSoft::Shared::Win32::HitTest::HTCAPTION value will be returned. If the client area contains the specified point, BCGSoft::Shared::Win32::HitTest::HTCLIENT value will be returned. Otherwise, BCGSoft::Shared::Win32::HitTest::HTNOWHERE. Called by the framework on calculation the expecting docking rectangle or on mouse down events when it is necessary to show a related context menu.

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

Parameters

pt
The point in screen coordinates to retrieve.
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

MiniFrame Class
MiniFrame Members

Send Feedback