MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
treeview.h
Go to the documentation of this file.
1 
43 /*
44  * $Id: treeview.h 13674 2010-12-06 06:45:01Z wanzheng $
45  *
46  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
47  * pSOS, ThreadX, NuCleus, OSE, and Win32.
48  */
49 
50 #ifndef EXT_TREEVIEW_H
51 #define EXT_TREEVIEW_H
52 
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
83 #define CTRL_TREEVIEW ("TreeView")
84 #define CTRL_TREEVIEW_RDR ("TreeView_rdr")
85 
86 #define TVIF_ROOT 0x0001L
87 #define TVIF_FOLD 0x0004L
88 #define TVIF_SELECTED 0x0008L
89 
91 typedef struct _TVITEMINFO
92 {
94  char *text;
109 
114 
117 } TVITEMINFO;
118 
124 
135 #define TVS_NOTIFY 0x0001L
136 
141 #define TVS_WITHICON 0x0002L
142 
153 #define TVS_ICONFORSELECT 0x0000L
154 
155 /* Internally used style */
156 #define TVS_FOCUS 0x0008L
157 
162 #define TVS_SORT 0x0010L
163 
190 #define TVM_ADDITEM 0xF110
191 
196 #define TVM_INSERTITEM 0xF111
197 
211 #define TVM_GETROOT 0xF112
212 
227 #define TVM_DELTREE 0xF113
228 
251 #define TVM_SEARCHITEM 0xF114
252 
272 #define TVM_FINDCHILD 0xF115
273 
287 #define TVM_GETSELITEM 0xF116
288 
305 #define TVM_SETSELITEM 0xF117
306 
324 #define TVM_GETITEMTEXTLEN 0xF118
325 
345 #define TVM_GETITEMTEXT 0xF119
346 
370 #define TVM_GETITEMINFO 0xF11A
371 
391 #define TVM_SETITEMINFO 0xF11B
392 
393 #define TVIR_PARENT 1
394 #define TVIR_FIRSTCHILD 2
395 #define TVIR_NEXTSIBLING 3
396 #define TVIR_PREVSIBLING 4
397 
426 #define TVM_GETRELATEDITEM 0xF11C
427 
457 #define TVM_SETSTRCMPFUNC 0xF11D
458 
459 #define TVM_MSGMAX 0xF120
460 
475 #define TVN_ERRSPACE 255
476 
481 #define TVN_SELCHANGE 1
482 
487 #define TVN_DBLCLK 2
488 
496 #define TVN_SETFOCUS 4
497 
505 #define TVN_KILLFOCUS 5
506 
511 #define TVN_CLICKED 7
512 
517 #define TVN_ENTER 8
518 
531 #define TVN_FOLDED 9
532 
545 #define TVN_UNFOLDED 10
546 
553 #ifdef __cplusplus
554 }
555 #endif
556 
557 #endif /* EXT_TREEVIEW_H */
558 
HICON hIconFold
Definition: treeview.h:111
DWORD dwAddData
Definition: treeview.h:116
char * text
Definition: treeview.h:94
struct _TVITEMINFO TVITEMINFO
DWORD dwFlags
Definition: treeview.h:108
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
Definition: common.h:555
HICON hIconUnfold
Definition: treeview.h:113
TVITEMINFO * PTVITEMINFO
Data type of the pointer to a TVITEMINFO.
Definition: treeview.h:123
GHANDLE HICON
Handle to icon.
Definition: common.h:378