TreeView_GetCount

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

UINT TreeView_GetCount(

hwnd  
);  

Parameters

hwnd

Handle to the tree-view control.

Return Values

Returns the count of items.

See Also

TVM_GETCOUNT