This macro sorts the child items of the specified parent item in a tree-view control. You can use this macro or send the TVM_SORTCHILDREN message explicitly.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Related message: | TVM_SORTCHILDREN |
Syntax
BOOL TreeView_SortChildren( hwnd, hitem, fReserved);
Parameters
hwndTV
Handle to the tree view control.
hitem
Handle to the parent item whose child items are to be sorted.
fRecurse
Reserved for future use; set to zero.
Return Values
TRUE indicates success. FALSE indicates failure.