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
Searches item data.
C
int WINAPI SftTree_FindItem(HWND hwndCtl, int index, SFTTREE_DWORD_PTR item); int WINAPI SftTreeSplit_FindItem(HWND hwndCtl, int index, SFTTREE_DWORD_PTR item);
C++
int CSftTree::FindItem(int index, SFTTREE_DWORD_PTR item) const; int CSftTreeSplit::FindItem(int index, SFTTREE_DWORD_PTR item) const;
hwndCtl
The window handle of the tree control.
index
The zero-based index of the item where the search for the specified data is to begin.
item
The value to be searched.
The return value is the zero-based index of the item where the item data was found. -1 is returned if the item data was not found or an error occurred.
The FindItem function searches item data.
The value of item is compared to the value returned by GetItemData for each item starting at index. If a matching value is found, its zero-based index is returned, otherwise -1 is returned.
See Also C/C++ API | Categories | Notifications