2 * Copyright (C) the Wine project
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.
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.
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
20 #define WS_OVERLAPPED 0x00000000L
21 #define WS_POPUP 0x80000000L
22 #define WS_CHILD 0x40000000L
23 #define WS_MINIMIZE 0x20000000L
24 #define WS_VISIBLE 0x10000000L
25 #define WS_DISABLED 0x08000000L
26 #define WS_CLIPSIBLINGS 0x04000000L
27 #define WS_CLIPCHILDREN 0x02000000L
28 #define WS_MAXIMIZE 0x01000000L
29 #define WS_CAPTION 0x00C00000L
30 #define WS_BORDER 0x00800000L
31 #define WS_DLGFRAME 0x00400000L
32 #define WS_VSCROLL 0x00200000L
33 #define WS_HSCROLL 0x00100000L
34 #define WS_SYSMENU 0x00080000L
35 #define WS_THICKFRAME 0x00040000L
36 #define WS_GROUP 0x00020000L
37 #define WS_TABSTOP 0x00010000L
38 #define WS_MINIMIZEBOX 0x00020000L
39 #define WS_MAXIMIZEBOX 0x00010000L
40 #define WS_TILED WS_OVERLAPPED
41 #define WS_ICONIC WS_MINIMIZE
42 #define WS_SIZEBOX WS_THICKFRAME
43 #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME| WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
44 #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU)
45 #define WS_CHILDWINDOW (WS_CHILD)
46 #define WS_TILEDWINDOW (WS_OVERLAPPEDWINDOW)
48 /* Window extended styles */
49 #define WS_EX_DLGMODALFRAME 0x00000001L
50 #define WS_EX_DRAGDETECT 0x00000002L
51 #define WS_EX_NOPARENTNOTIFY 0x00000004L
52 #define WS_EX_TOPMOST 0x00000008L
53 #define WS_EX_ACCEPTFILES 0x00000010L
54 #define WS_EX_TRANSPARENT 0x00000020L
55 #define WS_EX_MDICHILD 0x00000040L
56 #define WS_EX_TOOLWINDOW 0x00000080L
57 #define WS_EX_WINDOWEDGE 0x00000100L
58 #define WS_EX_CLIENTEDGE 0x00000200L
59 #define WS_EX_CONTEXTHELP 0x00000400L
60 #define WS_EX_RIGHT 0x00001000L
61 #define WS_EX_LEFT 0x00000000L
62 #define WS_EX_RTLREADING 0x00002000L
63 #define WS_EX_LTRREADING 0x00000000L
64 #define WS_EX_LEFTSCROLLBAR 0x00004000L
65 #define WS_EX_RIGHTSCROLLBAR 0x00000000L
66 #define WS_EX_CONTROLPARENT 0x00010000L
67 #define WS_EX_STATICEDGE 0x00020000L
68 #define WS_EX_APPWINDOW 0x00040000L
69 #define WS_EX_LAYERED 0x00080000L
70 #define WS_EX_NOINHERITLAYOUT 0x00100000L
71 #define WS_EX_LAYOUTRTL 0x00400000L
72 #define WS_EX_COMPOSITED 0x02000000L
73 #define WS_EX_NOACTIVATE 0x08000000L
75 #define WS_EX_OVERLAPPEDWINDOW (WS_EX_WINDOWEDGE|WS_EX_CLIENTEDGE)
76 #define WS_EX_PALETTEWINDOW (WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW|WS_EX_TOPMOST)
78 /* Button control styles */
79 #define BS_PUSHBUTTON 0x00000000L
80 #define BS_DEFPUSHBUTTON 0x00000001L
81 #define BS_CHECKBOX 0x00000002L
82 #define BS_AUTOCHECKBOX 0x00000003L
83 #define BS_RADIOBUTTON 0x00000004L
84 #define BS_3STATE 0x00000005L
85 #define BS_AUTO3STATE 0x00000006L
86 #define BS_GROUPBOX 0x00000007L
87 #define BS_USERBUTTON 0x00000008L
88 #define BS_AUTORADIOBUTTON 0x00000009L
89 #define BS_OWNERDRAW 0x0000000BL
90 #define BS_LEFTTEXT 0x00000020L
91 #define BS_RIGHTBUTTON BS_LEFTTEXT
93 #define BS_TEXT 0x00000000L
94 #define BS_ICON 0x00000040L
95 #define BS_BITMAP 0x00000080L
96 #define BS_LEFT 0x00000100L
97 #define BS_RIGHT 0x00000200L
98 #define BS_CENTER 0x00000300L
99 #define BS_TOP 0x00000400L
100 #define BS_BOTTOM 0x00000800L
101 #define BS_VCENTER 0x00000C00L
102 #define BS_PUSHLIKE 0x00001000L
103 #define BS_MULTILINE 0x00002000L
104 #define BS_NOTIFY 0x00004000L
105 #define BS_FLAT 0x00008000L
107 /* Combo box styles */
108 #define CBS_SIMPLE 0x0001L
109 #define CBS_DROPDOWN 0x0002L
110 #define CBS_DROPDOWNLIST 0x0003L
111 #define CBS_OWNERDRAWFIXED 0x0010L
112 #define CBS_OWNERDRAWVARIABLE 0x0020L
113 #define CBS_AUTOHSCROLL 0x0040L
114 #define CBS_OEMCONVERT 0x0080L
115 #define CBS_SORT 0x0100L
116 #define CBS_HASSTRINGS 0x0200L
117 #define CBS_NOINTEGRALHEIGHT 0x0400L
118 #define CBS_DISABLENOSCROLL 0x0800L
120 #define CBS_UPPERCASE 0x2000L
121 #define CBS_LOWERCASE 0x4000L
124 #define DS_ABSALIGN 0x0001
125 #define DS_SYSMODAL 0x0002
126 #define DS_3DLOOK 0x0004 /* win95 */
127 #define DS_FIXEDSYS 0x0008 /* win95 */
128 #define DS_NOFAILCREATE 0x0010 /* win95 */
129 #define DS_LOCALEDIT 0x0020
130 #define DS_SETFONT 0x0040
131 #define DS_MODALFRAME 0x0080
132 #define DS_NOIDLEMSG 0x0100
133 #define DS_SETFOREGROUND 0x0200 /* win95 */
134 #define DS_CONTROL 0x0400 /* win95 */
135 #define DS_CENTER 0x0800 /* win95 */
136 #define DS_CENTERMOUSE 0x1000 /* win95 */
137 #define DS_CONTEXTHELP 0x2000 /* win95 */
138 #define DS_USEPIXELS 0x8000
139 #define DS_SHELLFONT (DS_SETFONT | DS_FIXEDSYS)
141 /* Edit control styles */
142 #define ES_LEFT 0x00000000
143 #define ES_CENTER 0x00000001
144 #define ES_RIGHT 0x00000002
145 #define ES_MULTILINE 0x00000004
146 #define ES_UPPERCASE 0x00000008
147 #define ES_LOWERCASE 0x00000010
148 #define ES_PASSWORD 0x00000020
149 #define ES_AUTOVSCROLL 0x00000040
150 #define ES_AUTOHSCROLL 0x00000080
151 #define ES_NOHIDESEL 0x00000100
152 #define ES_COMBO 0x00000200 /* Undocumented. Parent is a combobox */
153 #define ES_OEMCONVERT 0x00000400
154 #define ES_READONLY 0x00000800
155 #define ES_WANTRETURN 0x00001000
156 #define ES_NUMBER 0x00002000
159 #define LBS_NOTIFY 0x0001
160 #define LBS_SORT 0x0002
161 #define LBS_NOREDRAW 0x0004
162 #define LBS_MULTIPLESEL 0x0008
163 #define LBS_OWNERDRAWFIXED 0x0010
164 #define LBS_OWNERDRAWVARIABLE 0x0020
165 #define LBS_HASSTRINGS 0x0040
166 #define LBS_USETABSTOPS 0x0080
167 #define LBS_NOINTEGRALHEIGHT 0x0100
168 #define LBS_MULTICOLUMN 0x0200
169 #define LBS_WANTKEYBOARDINPUT 0x0400
170 #define LBS_EXTENDEDSEL 0x0800
171 #define LBS_DISABLENOSCROLL 0x1000
172 #define LBS_NODATA 0x2000
173 #define LBS_NOSEL 0x4000
174 #define LBS_COMBOBOX 0x8000
175 #define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER)
177 /* Static Control Styles */
178 #define SS_LEFT 0x00000000L
179 #define SS_CENTER 0x00000001L
180 #define SS_RIGHT 0x00000002L
181 #define SS_ICON 0x00000003L
182 #define SS_BLACKRECT 0x00000004L
183 #define SS_GRAYRECT 0x00000005L
184 #define SS_WHITERECT 0x00000006L
185 #define SS_BLACKFRAME 0x00000007L
186 #define SS_GRAYFRAME 0x00000008L
187 #define SS_WHITEFRAME 0x00000009L
188 #define SS_USERITEM 0x0000000AL
189 #define SS_SIMPLE 0x0000000BL
190 #define SS_LEFTNOWORDWRAP 0x0000000CL
191 #define SS_OWNERDRAW 0x0000000DL
192 #define SS_BITMAP 0x0000000EL
193 #define SS_ENHMETAFILE 0x0000000FL
194 #define SS_ETCHEDHORZ 0x00000010L
195 #define SS_ETCHEDVERT 0x00000011L
196 #define SS_ETCHEDFRAME 0x00000012L
197 #define SS_TYPEMASK 0x0000001FL
199 #define SS_REALSIZECONTROL 0x00000040L
200 #define SS_NOPREFIX 0x00000080L
201 #define SS_NOTIFY 0x00000100L
202 #define SS_CENTERIMAGE 0x00000200L
203 #define SS_RIGHTJUST 0x00000400L
204 #define SS_REALSIZEIMAGE 0x00000800L
205 #define SS_SUNKEN 0x00001000L
206 #define SS_EDITCONTROL 0x00002000L
207 #define SS_ENDELLIPSIS 0x00004000L
208 #define SS_PATHELLIPSIS 0x00008000L
209 #define SS_WORDELLIPSIS 0x0000C000L
210 #define SS_ELLIPSISMASK 0x0000C000L