|
|
|
NextShown |
Returns the next visible item.
C
int WINAPI SftTree_GetNextShown(HWND hwndCtl, int index); int WINAPI SftTreeSplit_GetNextShown(HWND hwndCtl, int index);
C++
int CSftTree::GetNextShown(int index) const; int CSftTreeSplit::GetNextShown(int index) const;
Parameters
hwndCtl
The window handle of the tree control.
index
The zero-based index of the item after which the next visible item should be located. To locate the first visible item (if present) in a tree control specify -1.
Returns
The return value is the index of the next visible item or -1 if no item is visible.
Comments
The GetNextShown function returns the next visible item.
GetNextShown is used to find the next visible item, given an item index. Dependent items of a collapsed parent item are skipped using this function.
GetPrevShown can be used to retrieve the previous visible item.
See Also C/C++ API | Categories | Notifications