TreeView_SortChildren

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

BOOL TreeView_SortChildren(

hwnd,  
hitem,  
fRecurse  
);  

Parameters

hwnd

Handle to the tree-view control.

hitem

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

fRecurse

Reserved for future use. Must be zero.

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

TVM_SORTCHILDREN