mCtrl
propview.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011-2012 Martin Mitas
3  *
4  * This library is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation; either version 2.1 of the License, or
7  * (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef MCTRL_PROPVIEW_H
20 #define MCTRL_PROPVIEW_H
21 
22 #include <mCtrl/defs.h>
23 #include <mCtrl/value.h>
24 #include <mCtrl/propset.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 
68 
75 
76 
82 #define MC_WC_PROPVIEWW L"mCtrl.propView"
83 
84 #define MC_WC_PROPVIEWA "mCtrl.propView"
85 
92 
94 #define MC_PVS_NOPROPSETCREATE 0x0001
95 
100 #define MC_PVS_SORTITEMS 0x0002
101 
109 
117 #define MC_PVM_GETPROPSET (WM_USER + 100)
118 
132 #define MC_PVM_SETPROPSET (WM_USER + 101)
133 
141 #define MC_PVM_INSERTITEMW (WM_USER + 102)
142 
150 #define MC_PVM_INSERTITEMA (WM_USER + 103)
151 
159 #define MC_PVM_SETITEMW (WM_USER + 104)
160 
168 #define MC_PVM_SETITEMA (WM_USER + 105)
169 
177 #define MC_PVM_GETITEMW (WM_USER + 106)
178 
186 #define MC_PVM_GETITEMA (WM_USER + 107)
187 
195 #define MC_PVM_DELETEITEM (WM_USER + 108)
196 
204 #define MC_PVM_DELETEALLITEMS (WM_USER + 109)
205 
213 #define MC_PVM_GETITEMCOUNT (WM_USER + 110)
214 
215 //#define MC_PVM_SETITEMCOUNT (WM_USER + 111)
216 //#define MC_PVM_SETHOTITEM (WM_USER + 112)
217 //#define MC_PVM_GETHOTITEM (WM_USER + 113)
218 //#define MC_PVM_ENSUREVISIBLE (WM_USER + 114)
219 //#define MC_PVM_ISITEMVISIBLE (WM_USER + 115)
220 //#define MC_PVM_GETEDITCONTROL (WM_USER + 126)
221 //#define MC_PVM_HITTEST (WM_USER + 127)
228 //#define MC_PVN_BEGINITEMEDIT ((0U-2050U) + 1)
229 //#define MC_PVN_ENDITEMEDIT ((0U-2050U) + 2)
230 //#define MC_PVN_ITEMDROPDOWN ((0U-2050U) + 3)
231 //#define MC_PVN_ITEMDLGEDIT ((0U-2050U) + 4)
238 
240 #define MC_WC_PROPVIEW MCTRL_NAME_AW(MC_WC_PROPVIEW)
241 
242 #define MC_PVITEM MCTRL_NAME_AW(MC_PVITEM)
243 
244 #define MC_PVM_INSERTITEM MCTRL_NAME_AW(MC_PVM_INSERTITEM)
245 
246 #define MC_PVM_SETITEM MCTRL_NAME_AW(MC_PVM_SETITEM)
247 
248 #define MC_PVM_GETITEM MCTRL_NAME_AW(MC_PVM_GETITEM)
249 
253 #ifdef __cplusplus
254 } /* extern "C" */
255 #endif
256 
257 #endif /* MCTRL_PROPVIEW_H */