Prev Next

TVM_SORTCHILDREN Overview  Group

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_SortChildren macro.

TVM_SORTCHILDREN 

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

lParam = (LPARAM) (HTREEITEM) hitem; 

 

Parameters

wParam
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