# EVENT_SORT

Object Types: Trees.

Description: Sends event data to the callback function associated with the tree control when the user sorts a tree item.

Event Data Parameters:

eventData1 = descending and sort subtrees Booleans. The eventData1 parameter contains information that specifies whether the sort is ascending or descending and whether the subtrees also will be sorted. The low order word is nonzero if the sort is descending; the low word order is zero if the sort is ascending. The high order word is nonzero if the subtrees also will be sorted; high order word is zero if the subtrees will not be sorted.
eventData2 = key column

This event is swallowable. Return 1 to swallow EVENT_SORT.