Share via


TVM_SORTCHILDREN (Compact 2013)

3/28/2014

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.

Syntax

TVM_SORTCHILDREN wParam = (WPARAM) fRecurse; 
    lParam = (LPARAM)(HTREEITEM) hitem;

Parameters

  • fRecurse
    Reserved; set to 0 (zero).
  • hitem
    Handle to the parent item whose child items are to be sorted.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

commctrl.h

See Also

Reference

Tree View Controls Messages
TreeView_SortChildren
TVM_SORTCHILDRENCB