VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/commctrl.rh

最後變更 在這個檔案是 69505,由 vboxsync 提交於 7 年 前

More scm updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 7.4 KB
 
1/*
2 * Copyright (C) 2008 Vijay Kiran Kamuju
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (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 GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28/* Macro to deal with LP64 <=> LLP64 differences in numeric constants with 'l' modifier */
29#ifndef __MSABI_LONG
30# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__)
31# define __MSABI_LONG(x) x ## l
32# else
33# define __MSABI_LONG(x) x
34# endif
35#endif
36
37/* Header Control */
38#define HDS_HORZ 0x0000
39#define HDS_BUTTONS 0x0002
40#define HDS_HOTTRACK 0x0004
41#define HDS_HIDDEN 0x0008
42#define HDS_DRAGDROP 0x0040
43#define HDS_FULLDRAG 0x0080
44#define HDS_FILTERBAR 0x0100
45#define HDS_FLAT 0x0200
46#define HDS_CHECKBOXES 0x0400
47#define HDS_NOSIZING 0x0800
48#define HDS_OVERFLOW 0x1000
49
50/* Rebar Control */
51#define RBS_TOOLTIPS 0x0100
52#define RBS_VARHEIGHT 0x0200
53#define RBS_BANDBORDERS 0x0400
54#define RBS_FIXEDORDER 0x0800
55#define RBS_REGISTERDROP 0x1000
56#define RBS_AUTOSIZE 0x2000
57#define RBS_VERTICALGRIPPER 0x4000
58#define RBS_DBLCLKTOGGLE 0x8000
59
60/* Tool tips */
61#define TTS_ALWAYSTIP 0x01
62#define TTS_NOPREFIX 0x02
63#define TTS_NOANIMATE 0x10
64#define TTS_NOFADE 0x20
65#define TTS_BALLOON 0x40
66#define TTS_CLOSE 0x80
67#define TTS_USEVISUALSTYLE 0x100
68
69/* Statusbar Control */
70#define SBARS_SIZEGRIP 0x0100
71#define SBARS_TOOLTIPS 0x0800
72#define SBT_TOOLTIPS 0x0800
73
74/* Toolbar Control */
75#define TBS_AUTOTICKS 0x0001
76#define TBS_VERT 0x0002
77#define TBS_HORZ 0x0000
78#define TBS_TOP 0x0004
79#define TBS_BOTTOM 0x0000
80#define TBS_LEFT 0x0004
81#define TBS_RIGHT 0x0000
82#define TBS_BOTH 0x0008
83#define TBS_NOTICKS 0x0010
84#define TBS_ENABLESELRANGE 0x0020
85#define TBS_FIXEDLENGTH 0x0040
86#define TBS_NOTHUMB 0x0080
87#define TBS_TOOLTIPS 0x0100
88#define TBS_REVERSED 0x0200
89#define TBS_DOWNISLEFT 0x0400
90
91/* UpDown Control */
92#define UDS_WRAP 0x0001
93#define UDS_SETBUDDYINT 0x0002
94#define UDS_ALIGNRIGHT 0x0004
95#define UDS_ALIGNLEFT 0x0008
96#define UDS_AUTOBUDDY 0x0010
97#define UDS_ARROWKEYS 0x0020
98#define UDS_HORZ 0x0040
99#define UDS_NOTHOUSANDS 0x0080
100#define UDS_HOTTRACK 0x0100
101
102/* Progressbar Control */
103#define PBS_SMOOTH 0x01
104#define PBS_VERTICAL 0x04
105#define PBS_MARQUEE 0x08
106#define PBS_SMOOTHREVERSE 0x10
107
108/* Common Control Styles */
109#define CCS_TOP __MSABI_LONG(0x00000001)
110#define CCS_NOMOVEY __MSABI_LONG(0x00000002)
111#define CCS_BOTTOM __MSABI_LONG(0x00000003)
112#define CCS_NORESIZE __MSABI_LONG(0x00000004)
113#define CCS_NOPARENTALIGN __MSABI_LONG(0x00000008)
114#define CCS_ADJUSTABLE __MSABI_LONG(0x00000020)
115#define CCS_NODIVIDER __MSABI_LONG(0x00000040)
116#define CCS_VERT __MSABI_LONG(0x00000080)
117#define CCS_LEFT (CCS_VERT | CCS_TOP)
118#define CCS_RIGHT (CCS_VERT | CCS_BOTTOM)
119#define CCS_NOMOVEX (CCS_VERT | CCS_NOMOVEY)
120
121/* Listview Control */
122#define LVS_ICON 0x0000
123#define LVS_REPORT 0x0001
124#define LVS_SMALLICON 0x0002
125#define LVS_LIST 0x0003
126#define LVS_TYPEMASK 0x0003
127#define LVS_SINGLESEL 0x0004
128#define LVS_SHOWSELALWAYS 0x0008
129#define LVS_SORTASCENDING 0x0010
130#define LVS_SORTDESCENDING 0x0020
131#define LVS_SHAREIMAGELISTS 0x0040
132#define LVS_NOLABELWRAP 0x0080
133#define LVS_AUTOARRANGE 0x0100
134#define LVS_EDITLABELS 0x0200
135#define LVS_OWNERDATA 0x1000
136#define LVS_NOSCROLL 0x2000
137#define LVS_TYPESTYLEMASK 0xfc00
138#define LVS_ALIGNTOP 0x0000
139#define LVS_ALIGNLEFT 0x0800
140#define LVS_ALIGNMASK 0x0c00
141#define LVS_OWNERDRAWFIXED 0x0400
142#define LVS_NOCOLUMNHEADER 0x4000
143#define LVS_NOSORTHEADER 0x8000
144
145/* Treeview Control */
146#define TVS_HASBUTTONS 0x0001
147#define TVS_HASLINES 0x0002
148#define TVS_LINESATROOT 0x0004
149#define TVS_EDITLABELS 0x0008
150#define TVS_DISABLEDRAGDROP 0x0010
151#define TVS_SHOWSELALWAYS 0x0020
152#define TVS_RTLREADING 0x0040
153#define TVS_NOTOOLTIPS 0x0080
154#define TVS_CHECKBOXES 0x0100
155#define TVS_TRACKSELECT 0x0200
156#define TVS_SINGLEEXPAND 0x0400
157#define TVS_INFOTIP 0x0800
158#define TVS_FULLROWSELECT 0x1000
159#define TVS_NOSCROLL 0x2000
160#define TVS_NONEVENHEIGHT 0x4000
161#define TVS_NOHSCROLL 0x8000
162
163/* Tab Control */
164#define TCS_SCROLLOPPOSITE 0x0001 /* assumes multiline tab */
165#define TCS_BOTTOM 0x0002
166#define TCS_RIGHT 0x0002
167#define TCS_MULTISELECT 0x0004 /* allow multi-select in button mode */
168#define TCS_FLATBUTTONS 0x0008
169#define TCS_FORCEICONLEFT 0x0010
170#define TCS_FORCELABELLEFT 0x0020
171#define TCS_HOTTRACK 0x0040
172#define TCS_VERTICAL 0x0080
173#define TCS_TABS 0x0000
174#define TCS_BUTTONS 0x0100
175#define TCS_SINGLELINE 0x0000
176#define TCS_MULTILINE 0x0200
177#define TCS_RIGHTJUSTIFY 0x0000
178#define TCS_FIXEDWIDTH 0x0400
179#define TCS_RAGGEDRIGHT 0x0800
180#define TCS_FOCUSONBUTTONDOWN 0x1000
181#define TCS_OWNERDRAWFIXED 0x2000
182#define TCS_TOOLTIPS 0x4000
183#define TCS_FOCUSNEVER 0x8000
184
185/* Animate Control */
186#define ACS_CENTER 0x0001
187#define ACS_TRANSPARENT 0x0002
188#define ACS_AUTOPLAY 0x0004
189#define ACS_TIMER 0x0008 /* no threads, just timers */
190
191/* Month Calendar Control */
192#define MCS_DAYSTATE 0x0001
193#define MCS_MULTISELECT 0x0002
194#define MCS_WEEKNUMBERS 0x0004
195#define MCS_NOTODAY 0x0010
196#define MCS_NOTODAYCIRCLE 0x0008
197#define MCS_NOTRAILINGDATES 0x0040
198
199/* Datetime Control */
200#define DTS_SHORTDATEFORMAT 0x0000
201#define DTS_UPDOWN 0x0001
202#define DTS_SHOWNONE 0x0002
203#define DTS_LONGDATEFORMAT 0x0004
204#define DTS_TIMEFORMAT 0x0009
205#define DTS_APPCANPARSE 0x0010
206#define DTS_RIGHTALIGN 0x0020
207
208/* Pager Control */
209#define PGS_VERT 0x00000000
210#define PGS_HORZ 0x00000001
211#define PGS_AUTOSCROLL 0x00000002
212#define PGS_DRAGNDROP 0x00000004
213
214/* Native Font Control */
215#define NFS_EDIT 0x0001
216#define NFS_STATIC 0x0002
217#define NFS_LISTCOMBO 0x0004
218#define NFS_BUTTON 0x0008
219#define NFS_ALL 0x0010
220#define NFS_USEFONTASSOC 0x0020
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette