TVM_SORTCHILDREN

This 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.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: TreeView_SortChildren

Syntax

  1. TVM_SORTCHILDREN wParam = (WPARAM) fReserved;
    lParam = (LPARAM)(HTREEITEM) hitem;

Parameters

fRecurse

Reserved for future use; set to zero.

hitem

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

Return Values

TRUE indicates success. FALSE indicates failure.

See Also

TVM_SORTCHILDRENCB