SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Determines the entry at the given cursor coordinates.
VB.NET | Name = object.HitTest(ByVal xPos As Single, ByVal yPos As Single) As String |
VB | Name = object.HitTest(ByVal xPos As Single, ByVal yPos As Single) As String |
C#.NET | string Name = object.HitTest(float xPos, float yPos); |
VC++ | _bstr_t Name = object->HitTest(float xPos, float yPos); |
C | HRESULT object->raw_HitTest(float xPos, float yPos, BSTR* Name); |
object
xPos
The x coordinate of the location for which the entry name is to be returned. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
yPos
The y coordinate of the location for which the entry name is to be returned. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
Name
Returns the entry name at the given cursor coordinates. If the coordinates describe the column header, "Header" is returned. If the coordinates are not on an entry, "Empty Area" is returned.
The HitTest method determines the entry at the given cursor coordinates.
If an entry is found at the coordinates (x, y), the entry name (Entry.Name property) is returned. The Entry property can be used to retrieve the SftOptionsEntry object.
The equivalent HitTestPix method uses pixels as xPos and yPos arguments.
See Also SftOptions Object | Object Hierarchy