TreeView_SortChildrenCB  44IO50 

The TreeView_SortChildrenCB macro sorts tree-view items using an application-defined callback function that compares the items. You can use this macro or explicitly send the TVM_SORTCHILDRENCBIH1WQI message.

BOOL TreeView_SortChildrenCB(

    hwnd,

 

    psort,

 

    fRecurse

 

   );

 

 

Parameters

hwnd

Handle to the tree-view control.

psort

Pointer to a TV_SORTCB1XEFG46 structure. The lpfnCompare member is the pointer to 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 TV_SORTCB.

fRecurse

Reserved for future use. Must be zero.  

 

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

TV_SORTCB, TVM_SORTCHILDRENCB