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 an item's index given an item ID.
C
int WINAPI SftTree_GetItemIndex(HWND hwndCtl, SFTTREE_ID id); int WINAPI SftTreeSplit_GetItemIndex(HWND hwndCtl, SFTTREE_ID id);
C++
int CSftTree::GetItemIndex(SFTTREE_ID id) const; int CSftTreeSplit::GetItemIndex(SFTTREE_ID id) const;
hwndCtl
The window handle of the tree control.
id
The item ID of an item for which the zero-based index is to be retrieved.
GetItemIndex returns an item's index given an item ID.
The GetItemIndex function returns an item's index given an item ID.
The item ID returned by GetItemID does not change throughout the lifetime of an item. Even if an item changes its index position because other items are deleted or inserted, the item ID remains constant. The item index describes the zero-based position of an item in a tree control.
See Also C/C++ API | Categories | Notifications