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 file/folder at the given cursor coordinates.
VB.NET | refFolderObj = object.HitTest(ByVal xPos As Single, ByVal yPos As Single) As SftDirectoryFolder |
VB | refFolderObj = object.HitTest(ByVal xPos As Single, ByVal yPos As Single) As SftDirectoryFolder |
C#.NET | SftDirectoryFolder refFolderObj = object.HitTest(float xPos, float yPos); |
VC++ | ISftDirectoryFolder* refFolderObj = object->HitTest(float xPos, float yPos); |
C | HRESULT object->raw_HitTest(float xPos, float yPos, ISftDirectoryFolder** refFolderObj); |
object
xPos
The x coordinate to be tested. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
yPos
The y coordinate to be tested. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
refFolderObj
Returns the SftDirectoryFolder object located at the specified coordinates. If no folder is located at the coordinates, Nothing (NULL) is returned.
The HitTest method determines the file/folder at the given cursor coordinates.
The HitTestPix method can be used to determine the folder using coordinates expressed in pixels.
See Also SftDirectory Object | Object Hierarchy