Returns the number of items displayable in the tree control's client area, including partial items.
C
int WINAPI SftTree_GetItemsShown(HWND hwndCtl); int WINAPI SftTreeSplit_GetItemsShown(HWND hwndCtl);
C++
int CSftTree::GetItemsShown() const; int CSftTreeSplit::GetItemsShown() const;
hwndCtl
The window handle of the tree control.
The return value is the number of completely and partially visible items in the tree control's client area.
The GetItemsShown function returns the number of items displayable in the tree control's client area, including partial items. Only the item area is considered, which excludes the column header and column footer.
GetItemsShownComplete can be used to retrieve the number of completely visible items in the tree control's client area.
See Also C/C++ API | Categories | Notifications