SftTree/DLL 6.5

ResetContent

Softel vdm, Inc.

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 to number of items in a virtual data source

See Also  C/C++ API  |  CategoriesNotifications

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com