Skip to content

Latest commit

 

History

History
64 lines (37 loc) · 1.79 KB

tvm-sortchildrencb.md

File metadata and controls

64 lines (37 loc) · 1.79 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
TVM_SORTCHILDRENCB message (Commctrl.h)
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.
1669e576-5e57-49f6-8097-7d6547306014
TVM_SORTCHILDRENCB message Windows Controls
apiref
TVM_SORTCHILDRENCB
Commctrl.h
HeaderDef
reference
05/31/2018

TVM_SORTCHILDRENCB 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.

Parameters

wParam

Reserved. Must be zero.

lParam

Pointer to 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 value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h