Help Center

CTreeView.DeleteAllItemsmethod

Deletes all items from a treeview control.

WindowsmethodCTreeView.incdocumented

Syntax

FUNCTION DeleteAllItems (BYVAL hTreeView AS HWND) AS BOOLEAN
Also documented as Reset — one description covers them all.

Parameters

NameDescription
hTreeViewThe handle of the TreeView control.

Return value

Returns TRUE if the operation was successful, or FALSE otherwise.

Description

Deletes all items from a treeview control. Reset is an alias for this method.

Reference

  • Include file CTreeView.inc
  • Defined in AfxNova/CTreeView.inc:306
  • Documented in Windows/WIndows Controls/CTreeView Class.md
  • Topic: CTreeView Class