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
Returns the item index for given coordinates.
VB.NET | Boolean = object.CalcIndexFromPosPix(ByVal XPosPix As OLE_XPOS_PIXELS, ByVal YPosPix As OLE_YPOS_PIXELS, ByRef ItemIndex As Integer, ByRef RowHeader As Boolean) As Boolean |
VB | Boolean = object.CalcIndexFromPosPix(ByVal XPosPix As OLE_XPOS_PIXELS, ByVal YPosPix As OLE_YPOS_PIXELS, ItemIndex As Long, RowHeader As Boolean) As Boolean |
C#.NET | bool Boolean = object.CalcIndexFromPosPix(OLE_XPOS_PIXELS XPosPix, OLE_YPOS_PIXELS YPosPix, out int ItemIndex, out bool RowHeader); |
VC++ | VARIANT_BOOL Boolean = object->CalcIndexFromPosPix(OLE_XPOS_PIXELS XPosPix, OLE_YPOS_PIXELS YPosPix, long* ItemIndex, VARIANT_BOOL* RowHeader); |
C | HRESULT object->raw_CalcIndexFromPosPix(OLE_XPOS_PIXELS XPosPix, OLE_YPOS_PIXELS YPosPix, long* ItemIndex, VARIANT_BOOL* RowHeader, VARIANT_BOOL* Boolean); |
object
XPosPix
The horizontal position relative to the top, left corner of the tree control in pixels.
YPosPix
The vertical position relative to the top, left corner of the tree control in pixels.
ItemIndex
Returns the item index at the specified coordinates xPosPix, yPosPix.
RowHeader
Returns True if the position is in the row header area, otherwise False is returned.
Boolean
Returns the item index for given coordinates.
Boolean | Description |
---|---|
True | An item was located at the specified coordinates xPosPix, yPosPix. |
False | No item was located at the specified coordinates xPosPix, yPosPix. |
The CalcIndexFromPosPix method returns the item index for given coordinates.
The CalcIndexFromPos and CalcIndexFromPosPix methods are synonyms, but may use different coordinate systems.
CalcCellFromPosPix can be used to determine the cell. CalcColumnFromPosPix can be used to determine The zero-based column number.
See Also SftTree Object | Object Hierarchy