BOOL SortChildren( HTREEITEM hItem );
Return Value
Nonzero if successful; otherwise 0.
Parameters
hItem
Handle of the parent item whose child items are to be sorted. If hItem is NULL, sorting will proceed from the root of the tree.
Remarks
Call this function to sort the child items of the given parent item in a tree view control. SortChildren will not recurse through the tree; only the immediate children of hItem will be sorted.
CTreeCtrl Overview | Class Members | Hierarchy Chart
See Also CTreeCtrl::SortChildrenCB