Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library

Header File
commctrl.h
Unicode
No
Platform Notes
None

TreeView_SortChildrenCB

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

BOOL TreeView_SortChildrenCB(

hwnd,

psort,

fRecurse

);

Parameters

hwnd

Handle to the tree-view control.

psort

Pointer to a TV_SORTCB 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

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database