Contents Index Topic Contents | ||
Previous Topic: TreeView_SortChildren Next Topic: Tree View Notification Messages |
TreeView_SortChildrenCB
BOOL TreeView_SortChildrenCB( HWND hwndTV, LPTVSORTCB psort, BOOL fRecurse );Sorts tree view items using an application-defined callback function that compares the items. You can use this macro or send the TVM_SORTCHILDRENCB message explicitly.
- Returns TRUE if successful, or FALSE otherwise.
- hwndTV
- Handle to the tree view control.
- psort
- Address of a TVSORTCB structure. The lpfnCompare member is the address of the application-defined callback function, which is called during the sort operation each time the relative order of two list items needs to be compared. For more information about the callback function, see the description of TVSORTCB.
- fRecurse
- Reserved for future use. Must be zero.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.