treeview.h

Go to the documentation of this file.
00001 
00019 /*
00020  * $Id: treeview.h 13068 2010-08-03 10:56:31Z zouqizhi $
00021  *
00022  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 
00023  *                     pSOS, ThreadX, NuCleus, OSE, and Win32.
00024  *
00025  *             Copyright (C) 2002-2008 Feynman Software.
00026  *             Copyright (C) 1998-2002 Wei Yongming.
00027  */
00028 
00029 #ifndef EXT_TREEVIEW_H
00030 #define EXT_TREEVIEW_H
00031 
00032 
00033 #ifdef  __cplusplus
00034 extern "C" {
00035 #endif
00036 
00062 #define CTRL_TREEVIEW           ("TreeView")
00063 #define CTRL_TREEVIEW_RDR           ("TreeView_rdr")
00064 
00065 #define TVIF_ROOT               0x0001L
00066 #define TVIF_FOLD               0x0004L
00067 #define TVIF_SELECTED           0x0008L
00068 
00070 typedef struct _TVITEMINFO
00071 {
00073     char *text;
00087     DWORD dwFlags;
00088 
00090     HICON hIconFold;
00092     HICON hIconUnfold;
00093 
00095     DWORD dwAddData;
00096 } TVITEMINFO;
00097 
00102 typedef TVITEMINFO *PTVITEMINFO;
00103 
00114 #define TVS_NOTIFY              0x0001L
00115 
00120 #define TVS_WITHICON            0x0002L
00121 
00132 #define TVS_ICONFORSELECT       0x0000L
00133 
00134 /* Internally used style */
00135 #define TVS_FOCUS               0x0008L
00136 
00141 #define TVS_SORT                0x0010L
00142 
00169 #define TVM_ADDITEM             0xF110
00170 
00175 #define TVM_INSERTITEM          0xF111
00176 
00190 #define TVM_GETROOT             0xF112
00191 
00206 #define TVM_DELTREE             0xF113
00207 
00230 #define TVM_SEARCHITEM            0xF114
00231 
00251 #define TVM_FINDCHILD           0xF115
00252 
00266 #define TVM_GETSELITEM          0xF116
00267 
00284 #define TVM_SETSELITEM          0xF117
00285 
00303 #define TVM_GETITEMTEXTLEN      0xF118
00304 
00324 #define TVM_GETITEMTEXT         0xF119
00325 
00349 #define TVM_GETITEMINFO         0xF11A
00350 
00370 #define TVM_SETITEMINFO         0xF11B
00371 
00372 #define TVIR_PARENT             1
00373 #define TVIR_FIRSTCHILD         2
00374 #define TVIR_NEXTSIBLING        3
00375 #define TVIR_PREVSIBLING        4
00376 
00405 #define TVM_GETRELATEDITEM      0xF11C
00406 
00436 #define TVM_SETSTRCMPFUNC       0xF11D
00437 
00438 #define TVM_MSGMAX              0xF120
00439 
00454 #define TVN_ERRSPACE            255
00455 
00460 #define TVN_SELCHANGE           1
00461 
00466 #define TVN_DBLCLK              2
00467 
00475 #define TVN_SETFOCUS            4
00476 
00484 #define TVN_KILLFOCUS           5
00485 
00490 #define TVN_CLICKED             7
00491 
00496 #define TVN_ENTER               8
00497 
00510 #define TVN_FOLDED              9
00511 
00524 #define TVN_UNFOLDED              10
00525 
00532 #ifdef  __cplusplus
00533 }
00534 #endif
00535 
00536 #endif /* EXT_TREEVIEW_H */
00537 
Generated on Thu Apr 7 15:58:31 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3