SEC_TREECLASS::SortChildrenCB

BOOLSEC_TREECLASS::SortChildrenCB(LPTV_SORTCBpSort, BOOLbRecursive, BOOLbAscending)

Sorts tree view items using an application-defined callback function that compares the items.

Defined in: trcore.inl

Return Value

Nonzero if successful; otherwise 0.

Parameters

pSort

Pointer to a TV_SORTCB structure.

bRecursive

If TRUE, sort all subtrees of this item. Default TRUE.

bAscending

Sort Ascending. Default TRUE.

Comments

Call this function to sort tree view items using an application-defined callback function that compares the items.