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
Fills an array with the index numbers of currently selected items.
C
int WINAPI SftTree_GetSelItems(HWND hwndCtl, int max, LPINT lpItems); int WINAPI SftTreeSplit_GetSelItems(HWND hwndCtl, int max, LPINT lpItems);
C++
int CSftTree::GetSelItems(int max, LPINT lpItems) const; int CSftTreeSplit::GetSelItems(int max, LPINT lpItems) const;
hwndCtl
The window handle of the tree control.
max
The maximum number of index entries to retrieve.
lpItems
Address of an area where the index entries of up to max index entries will be returned.
GetSelItems returns the number of selected entries returned in lpItems, 0 if no items are selected or -1 if an error occurred.
This function applies to multiple selection trees only, and cannot be used with single selection tree controls.
GetSelItemsArray is used to retrieve all selected items.
The buffer lpItems where the index entries are returned has to be large enough to receive up to max integer values.
See Also C/C++ API | Categories | Notifications