BCGControlBar Library for .NET
HitTest Method (PropertyListItem)




Specifies the point to test (in the client coordinates).

Specifies the property item area containing the specified point.
Tests the specified point and the current property item if it contains the specified point or a subitem containing the specified point.
Syntax
'Declaration
 
Public Function HitTest( _
   ByVal point As Point, _
   ByRef pnArea As ItemClickArea _
) As PropertyListItem
'Usage
 
Dim instance As PropertyListItem
Dim point As Point
Dim pnArea As ItemClickArea
Dim value As PropertyListItem
 
value = instance.HitTest(point, pnArea)
public PropertyListItem HitTest( 
   Point point,
   ref ItemClickArea pnArea
)
public: PropertyListItem* HitTest( 
   Point point,
   ref ItemClickArea pnArea
) 
public:
PropertyListItem^ HitTest( 
   Point point,
   ItemClickArea% pnArea
) 

Parameters

point

Specifies the point to test (in the client coordinates).

pnArea
Specifies the property item area containing the specified point.
Remarks
Also, if any property contains the point, pnArea will contain one of the following values:

ClickArea::ClickExpandBox - property expand box
ClickArea::ClickName          - property name
ClickArea::ClickValue          -  property value.

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

PropertyListItem Class
PropertyListItem Members

Send Feedback