mCtrl  0.9.0
propview.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011-2013 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 
66 
72 
77 
85 
87 #define MC_WC_PROPVIEWW L"mCtrl.propView"
88 
89 #define MC_WC_PROPVIEWA "mCtrl.propView"
90 
98 
100 #define MC_PVS_NOPROPSETCREATE 0x0001
101 
106 #define MC_PVS_SORTITEMS 0x0002
107 
115 
123 #define MC_PVM_GETPROPSET (MC_PVM_FIRST + 0)
124 
138 #define MC_PVM_SETPROPSET (MC_PVM_FIRST + 1)
139 
147 #define MC_PVM_INSERTITEMW (MC_PVM_FIRST + 2)
148 
156 #define MC_PVM_INSERTITEMA (MC_PVM_FIRST + 3)
157 
165 #define MC_PVM_SETITEMW (MC_PVM_FIRST + 4)
166 
174 #define MC_PVM_SETITEMA (MC_PVM_FIRST + 5)
175 
189 #define MC_PVM_GETITEMW (MC_PVM_FIRST + 6)
190 
204 #define MC_PVM_GETITEMA (MC_PVM_FIRST + 7)
205 
213 #define MC_PVM_DELETEITEM (MC_PVM_FIRST + 8)
214 
222 #define MC_PVM_DELETEALLITEMS (MC_PVM_FIRST + 9)
223 
231 #define MC_PVM_GETITEMCOUNT (MC_PVM_FIRST + 10)
232 
233 //#define MC_PVM_SETITEMCOUNT (MC_PVM_FIRST + 11)
234 //#define MC_PVM_SETHOTITEM (MC_PVM_FIRST + 12)
235 //#define MC_PVM_GETHOTITEM (MC_PVM_FIRST + 13)
236 //#define MC_PVM_ENSUREVISIBLE (MC_PVM_FIRST + 14)
237 //#define MC_PVM_ISITEMVISIBLE (MC_PVM_FIRST + 15)
238 //#define MC_PVM_GETEDITCONTROL (MC_PVM_FIRST + 16)
239 //#define MC_PVM_HITTEST (MC_PVM_FIRST + 17)
240 
248 
249 //#define MC_PVN_BEGINITEMEDIT (MC_PVN_FIRST + 0)
250 //#define MC_PVN_ENDITEMEDIT (MC_PVN_FIRST + 1)
251 //#define MC_PVN_ITEMDROPDOWN (MC_PVN_FIRST + 2)
252 //#define MC_PVN_ITEMDLGEDIT (MC_PVN_FIRST + 3)
253 
261 
263 #define MC_WC_PROPVIEW MCTRL_NAME_AW(MC_WC_PROPVIEW)
264 
265 #define MC_PVITEM MCTRL_NAME_AW(MC_PVITEM)
266 
267 #define MC_PVM_INSERTITEM MCTRL_NAME_AW(MC_PVM_INSERTITEM)
268 
269 #define MC_PVM_SETITEM MCTRL_NAME_AW(MC_PVM_SETITEM)
270 
271 #define MC_PVM_GETITEM MCTRL_NAME_AW(MC_PVM_GETITEM)
272 
276 #ifdef __cplusplus
277 } /* extern "C" */
278 #endif
279 
280 #endif /* MCTRL_PROPVIEW_H */