TreeView_GetCount

This macro retrieves a count of the items in a tree-view control. You can use this macro or send the TVM_GETCOUNT message explicitly.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related message: TVM_GETCOUNT

Syntax

UINT TreeView_GetCount( hwnd);

Parameters

hwndTV

Handle to the tree view control.

Return Values

Returns the count of items.