Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

ResetContent

Removes all items from the tree control.

C

void WINAPI SftTree_ResetContent(HWND hwndCtl);
void WINAPI SftTreeSplit_ResetContent(HWND hwndCtl);

C++

void CSftTree::ResetContent();
void CSftTreeSplit::ResetContent();

Parameters

hwndCtl

The window handle of the tree control.

Comments

The ResetContent function removes all items from the tree control.

If a deletion callback routine has been defined (see SetDeleteCallback), the callback is invoked for each item as it is deleted from the tree control. This allows application specific cleanup processing to take place for each item.

In a tree control using a virtual data source, this function cannot be used. VirtualCount can be used to change the number of items in a virtual data source.

See Also C/C++ API | Categories | Notifications