TVM_SORTCHILDRENCBTVM_SORTCHILDRENCB*
*Contents  *Index  *Topic Contents
*Previous Topic: TVM_SORTCHILDREN
*Next Topic: Tree View Control Macros

TVM_SORTCHILDRENCB


TVM_SORTCHILDRENCB 
    wParam = (WPARAM)(BOOL) fRecurse;
    lParam = (LPARAM) (LPTVSORTCB) psort; 

Sorts tree view items using an application-defined callback function that compares the items. You can send this message explicitly or by using the TreeView_SortChildrenCB macro.

fRecurse
Reserved for future use. Must be zero.
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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.