|
|
Adds a new item in a treeview control.
TVM_ADDITEM GHANDLE parent; PTVITEMINFO newIteminfo; wParam = (WPARAM)parent; lParam = (LPARAM)newIteminfo;
Definition at line 170 of file treeview.h. |
|
|
Removes an item and its descendant items for the treeview control.
TVM_DELTREE GHANDLE item; wParam = (WPARAM)item; lParam = 0;
Definition at line 207 of file treeview.h. |
|
|
Finds a child item matching a specified string in children of a specific item.
TVM_FINDCHILD GHNADLE item; char* string; wParam = (WPARAM)item; lParam = (LPARAM)string;
Definition at line 252 of file treeview.h. |
|
|
Retrives the information of an item in TreeView control.
TVM_GETITEMINFO GHANDLE item; TVITEMINFO* tvii; wParam = (WPARAM)item; lParam = (LPARAM)tvii;
Definition at line 350 of file treeview.h. |
|
|
Retrives the text of the specified item in TreeView control.
TVM_GETITEMTEXT GHANDLE item; char* buffer; wParam = (WPARAM)item; lParam = (LPARAM)buffer;
Definition at line 325 of file treeview.h. |
|
|
Retrives the text length of the specified item in TreeView control.
TVM_GETITEMTEXTLEN GHANDLE item; wParam = (WPARAM)item; lParam = (LPARAM)0;
Definition at line 304 of file treeview.h. |
|
|
Retrives related item of specific item.
TVM_GETRELATEDITEM int related; GHANDLE item; wParam = (WPARAM)related; lParam = (LPARAM)item;
Definition at line 406 of file treeview.h. |
|
|
Gets the root item of a treeview control.
TVM_GETROOT wParam = 0; lParam = 0;
Definition at line 191 of file treeview.h. |
|
|
Gets the selected item.
TVM_GETSELITEM wParam = 0; lParam = 0;
Definition at line 267 of file treeview.h. |
|
|
The same as TVM_ADDITEM message.
Definition at line 176 of file treeview.h. |
|
|
Searches an item matching a specified string in a subtree rooted by a specific item.
TVM_SEARCHITEM GHNADLE item; char* string; wParam = (WPARAM)item; lParam = (LPARAM)string;
Definition at line 231 of file treeview.h. |
|
|
Changes the information of an item.
TVM_SETITEMTEXT GHANDLE item; TVITEMINFO* tvii; wParam = (WPARAM)id; lParam = (LPARAM)tvii;
Definition at line 371 of file treeview.h. |
|
|
Sets the selected item.
TVM_SETSELITEM GHANDLE item; wParam = (WPARAM)item; lParam = 0;
Definition at line 285 of file treeview.h. |
|
|
Sets the STRCMP function used to sort items. An application sends a TVM_SETSTRCMPFUNC message to set a new STRCMP function to sort items in the TreeView control. Note that you should send this message before adding any item to the TreeView control.
static int my_strcmp (const char* s1, const char* s2, size_t n) { ... return 0; } TVM_SETSTRCMPFUNC wParam = 0; lParam = (LPARAM) my_strcmp;
Definition at line 437 of file treeview.h. |
1.4.2