Prev Next
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(
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
file: /Techref/os/win/api/win32/mac/src/mac05_29.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/30 14:59,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/mac/src/mac05_29.htm"> TreeView_SortChildrenCB</A> |
Did you find what you needed?
|
.
|