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.HitTestPix(ByVal xPosPix As OLE_XPOS_PIXELS, ByVal yPosPix As OLE_YPOS_PIXELS) As String |
VB | Name = object.HitTestPix(ByVal xPosPix As OLE_XPOS_PIXELS, ByVal yPosPix As OLE_YPOS_PIXELS) As String |
C#.NET | string Name = object.HitTestPix(OLE_XPOS_PIXELS xPosPix, OLE_YPOS_PIXELS yPosPix); |
VC++ | _bstr_t Name = object->HitTestPix(OLE_XPOS_PIXELS xPosPix, OLE_YPOS_PIXELS yPosPix); |
C | HRESULT object->raw_HitTestPix(OLE_XPOS_PIXELS xPosPix, OLE_YPOS_PIXELS yPosPix, BSTR* Name); |
object
xPosPix
The x coordinate of the location for which the entry name is to be returned. The units used are pixels.
yPosPix
The y coordinate of the location for which the entry name is to be returned. The units used are pixels.
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 HitTestPix 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.
See Also SftOptions Object | Object Hierarchy