TVM_SORTCHILDREN  2BKK2D8 

The TVM_SORTCHILDREN message sorts the child items of the specified parent item in a tree-view control. You can send this message explicitly or by using the TreeView_SortChildren6HISUM macro.

TVM_SORTCHILDREN

wParam = 0;  // reserved for future use; must be zero 

lParam = (LPARAM) (HTREEITEM) hitem;

 

Parameters

fRecurse

Reserved for future use. Must be zero.  

hitem

Handle to the parent item whose child items are to be sorted.

 

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

TreeView_SortChildren