|
|
|
SelItemRange |
Selects or deselects a range of items (multiple selection tree only).
C
int WINAPI SftTree_SelItemRange(HWND hwndCtl, BOOL fSelect, int first, int last); int WINAPI SftTreeSplit_SelItemRange(HWND hwndCtl, BOOL fSelect, int first, int last);
C++
int CSftTree::SelItemRange(BOOL fSelect, int first, int last); int CSftTreeSplit::SelItemRange(BOOL fSelect, int first, int last);
Parameters
hwndCtl
The window handle of the tree control.
fSelect
The desired selection status, TRUE to select the items, FALSE to deselect.
first
The first item of the range of items to de-/select. This value must be less or equal to last.
last
The last item of the range of items to de-/select. This value must be greater or equal to first.
Returns
The return value is 0 if successful, otherwise -1 is returned.
Comments
The SelItemRange function selects or deselects a range of items (multiple selection tree only).
This function applies to multiple selection trees only, and cannot be used with single selection tree controls.
See Also C/C++ API | Categories | Notifications