Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.
Syntax
BOOL TreeView_SortChildren(
HWND hwnd,
HTREEITEM hitem,
BOOL recurse
);
Parameters
hwnd
Type: HWND
Handle to the tree-view control.
hitem
Type: HTREEITEM
Handle to the parent item whose child items are to be sorted.
recurse
Type: BOOL
Not implemented; see remarks.
Return value
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
Remarks
This message alphabetizes the tree items using lstrcmpi on the item name. You can use the TVM_SORTCHILDRENCB message to customize the ordering behavior.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |