Share via


TVM_SORTCHILDRENCB (Windows CE 5.0)

Send Feedback

This message 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.

TVM_SORTCHILDRENCBwParam = (WPARAM)fRecurse;lParam = (LPARAM)(LPTV_SORTCB)psort;

Parameters

  • fRecurse
    Reserved for future use; set to zero.
  • psort
    Pointer 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.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TreeView_SortChildrenCB | TV_ITEM | TV_SORTCB | TVM_SORTCHILDREN

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.