source: branch/egtra-gdiplus/api_windowstyles.sbp@ 696

Last change on this file since 696 was 1, checked in by (none), 18 years ago
File size: 7.4 KB
Line 
1' api_windowstyles.sbp
2
3
4#ifndef _INC_WINDOWSTYLES
5#define _INC_WINDOWSTYLES
6
7
8'---------------
9'Window Styles
10'---------------
11
12Const WS_OVERLAPPED = &H00000000
13Const WS_POPUP = &H80000000
14Const WS_CHILD = &H40000000
15Const WS_MINIMIZE = &H20000000
16Const WS_VISIBLE = &H10000000
17Const WS_DISABLED = &H08000000
18Const WS_CLIPSIBLINGS = &H04000000
19Const WS_CLIPCHILDREN = &H02000000
20Const WS_MAXIMIZE = &H01000000
21Const WS_CAPTION = &H00C00000 'WS_BORDER or WS_DLGFRAME
22Const WS_BORDER = &H00800000
23Const WS_DLGFRAME = &H00400000
24Const WS_VSCROLL = &H00200000
25Const WS_HSCROLL = &H00100000
26Const WS_SYSMENU = &H00080000
27Const WS_THICKFRAME = &H00040000
28Const WS_GROUP = &H00020000
29Const WS_TABSTOP = &H00010000
30
31Const WS_MINIMIZEBOX = &H00020000
32Const WS_MAXIMIZEBOX = &H00010000
33
34Const WS_TILED = WS_OVERLAPPED
35Const WS_ICONIC = WS_MINIMIZE
36Const WS_SIZEBOX = WS_THICKFRAME
37
38' Common Window Styles
39Const WS_OVERLAPPEDWINDOW =WS_OVERLAPPED or WS_CAPTION or WS_SYSMENU or WS_THICKFRAME or WS_MINIMIZEBOX or WS_MAXIMIZEBOX
40Const WS_POPUPWINDOW = WS_POPUP or WS_BORDER or WS_SYSMENU
41Const WS_CHILDWINDOW = WS_CHILD
42Const WS_TILEDWINDOW = WS_OVERLAPPEDWINDOW
43
44
45'-------------------------
46' Extended Window Styles
47'-------------------------
48
49Const WS_EX_DLGMODALFRAME = &H00000001
50Const WS_EX_NOPARENTNOTIFY = &H00000004
51Const WS_EX_TOPMOST = &H00000008
52Const WS_EX_ACCEPTFILES = &H00000010
53Const WS_EX_TRANSPARENT = &H00000020
54Const WS_EX_MDICHILD = &H00000040
55Const WS_EX_TOOLWINDOW = &H00000080
56Const WS_EX_WINDOWEDGE = &H00000100
57Const WS_EX_CLIENTEDGE = &H00000200
58Const WS_EX_CONTEXTHELP = &H00000400
59
60Const WS_EX_RIGHT = &H00001000
61Const WS_EX_LEFT = &H00000000
62Const WS_EX_RTLREADING = &H00002000
63Const WS_EX_LTRREADING = &H00000000
64Const WS_EX_LEFTSCROLLBAR = &H00004000
65Const WS_EX_RIGHTSCROLLBAR = &H00000000
66
67Const WS_EX_CONTROLPARENT = &H00010000
68Const WS_EX_STATICEDGE = &H00020000
69Const WS_EX_APPWINDOW = &H00040000
70
71Const WS_EX_OVERLAPPEDWINDOW =WS_EX_WINDOWEDGE or WS_EX_CLIENTEDGE
72Const WS_EX_PALETTEWINDOW = WS_EX_WINDOWEDGE or WS_EX_TOOLWINDOW or WS_EX_TOPMOST
73
74
75'------------------------
76' Button Control Styles
77'------------------------
78
79Const BS_PUSHBUTTON = &H00000000
80Const BS_DEFPUSHBUTTON = &H00000001
81Const BS_CHECKBOX = &H00000002
82Const BS_AUTOCHECKBOX = &H00000003
83Const BS_RADIOBUTTON = &H00000004
84Const BS_3STATE = &H00000005
85Const BS_AUTO3STATE = &H00000006
86Const BS_GROUPBOX = &H00000007
87Const BS_USERBUTTON = &H00000008
88Const BS_AUTORADIOBUTTON =&H00000009
89Const BS_OWNERDRAW = &H0000000B
90Const BS_LEFTTEXT = &H00000020
91Const BS_TEXT = &H00000000
92Const BS_ICON = &H00000040
93Const BS_BITMAP = &H00000080
94Const BS_LEFT = &H00000100
95Const BS_RIGHT = &H00000200
96Const BS_CENTER = &H00000300
97Const BS_TOP = &H00000400
98Const BS_BOTTOM = &H00000800
99Const BS_VCENTER = &H00000C00
100Const BS_PUSHLIKE = &H00001000
101Const BS_MULTILINE = &H00002000
102Const BS_NOTIFY = &H00004000
103Const BS_FLAT = &H00008000
104Const BS_RIGHTBUTTON = BS_LEFTTEXT
105
106
107'-------------------
108' Combo Box styles
109'-------------------
110
111Const CBS_SIMPLE = &H0001
112Const CBS_DROPDOWN = &H0002
113Const CBS_DROPDOWNLIST = &H0003
114Const CBS_OWNERDRAWFIXED = &H0010
115Const CBS_OWNERDRAWVARIABLE =&H0020
116Const CBS_AUTOHSCROLL = &H0040
117Const CBS_OEMCONVERT = &H0080
118Const CBS_SORT = &H0100
119Const CBS_HASSTRINGS = &H0200
120Const CBS_NOINTEGRALHEIGHT = &H0400
121Const CBS_DISABLENOSCROLL = &H0800
122Const CBS_UPPERCASE = &H2000
123Const CBS_LOWERCASE = &H4000
124
125
126'----------------------
127' Edit Control Styles
128'----------------------
129
130Const ES_LEFT = &H0000
131Const ES_CENTER = &H0001
132Const ES_RIGHT = &H0002
133Const ES_MULTILINE = &H0004
134Const ES_UPPERCASE = &H0008
135Const ES_LOWERCASE = &H0010
136Const ES_PASSWORD = &H0020
137Const ES_AUTOVSCROLL = &H0040
138Const ES_AUTOHSCROLL = &H0080
139Const ES_NOHIDESEL = &H0100
140Const ES_OEMCONVERT = &H0400
141Const ES_READONLY = &H0800
142Const ES_WANTRETURN = &H1000
143Const ES_NUMBER = &H2000
144
145
146'-----------------
147' Listbox Styles
148'-----------------
149
150Const LBS_NOTIFY = &H0001
151Const LBS_SORT = &H0002
152Const LBS_NOREDRAW = &H0004
153Const LBS_MULTIPLESEL = &H0008
154Const LBS_OWNERDRAWFIXED = &H0010
155Const LBS_OWNERDRAWVARIABLE =&H0020
156Const LBS_HASSTRINGS = &H0040
157Const LBS_USETABSTOPS = &H0080
158Const LBS_NOINTEGRALHEIGHT = &H0100
159Const LBS_MULTICOLUMN = &H0200
160Const LBS_WANTKEYBOARDINPUT =&H0400
161Const LBS_EXTENDEDSEL = &H0800
162Const LBS_DISABLENOSCROLL = &H1000
163Const LBS_NODATA = &H2000
164Const LBS_NOSEL = &H4000
165Const LBS_STANDARD = LBS_NOTIFY or LBS_SORT or WS_VSCROLL or WS_BORDER
166
167
168'--------------------
169' Scroll Bar Styles
170'--------------------
171
172Const SBS_HORZ = &H0000
173Const SBS_VERT = &H0001
174Const SBS_TOPALIGN = &H0002
175Const SBS_LEFTALIGN = &H0002
176Const SBS_BOTTOMALIGN = &H0004
177Const SBS_RIGHTALIGN = &H0004
178Const SBS_SIZEBOXTOPLEFTALIGN = &H0002
179Const SBS_SIZEBOXBOTTOMRIGHTALIGN =&H0004
180Const SBS_SIZEBOX = &H0008
181Const SBS_SIZEGRIP = &H0010
182
183
184'---------------------------
185' Static Control Constants
186'---------------------------
187
188Const SS_LEFT = &H00000000
189Const SS_CENTER = &H00000001
190Const SS_RIGHT = &H00000002
191Const SS_ICON = &H00000003
192Const SS_BLACKRECT = &H00000004
193Const SS_GRAYRECT = &H00000005
194Const SS_WHITERECT = &H00000006
195Const SS_BLACKFRAME = &H00000007
196Const SS_GRAYFRAME = &H00000008
197Const SS_WHITEFRAME = &H00000009
198Const SS_USERITEM = &H0000000A
199Const SS_SIMPLE = &H0000000B
200Const SS_LEFTNOWORDWRAP = &H0000000C
201Const SS_OWNERDRAW = &H0000000D
202Const SS_BITMAP = &H0000000E
203Const SS_ENHMETAFILE = &H0000000F
204Const SS_ETCHEDHORZ = &H00000010
205Const SS_ETCHEDVERT = &H00000011
206Const SS_ETCHEDFRAME = &H00000012
207Const SS_TYPEMASK = &H0000001F
208Const SS_NOPREFIX = &H00000080
209Const SS_NOTIFY = &H00000100
210Const SS_CENTERIMAGE = &H00000200
211Const SS_RIGHTJUST = &H00000400
212Const SS_REALSIZEIMAGE = &H00000800
213Const SS_SUNKEN = &H00001000
214Const SS_ENDELLIPSIS = &H00004000
215Const SS_PATHELLIPSIS = &H00008000
216Const SS_WORDELLIPSIS = &H0000C000
217Const SS_ELLIPSISMASK = &H0000C000
218
219
220'----------------
221' Dialog Styles
222'----------------
223
224Const DS_ABSALIGN = &H01
225Const DS_SYSMODAL = &H02
226Const DS_LOCALEDIT = &H20
227Const DS_SETFONT = &H40
228Const DS_MODALFRAME = &H80
229Const DS_NOIDLEMSG = &H100
230Const DS_SETFOREGROUND = &H200
231
232Const DS_3DLOOK = &H0004
233Const DS_FIXEDSYS = &H0008
234Const DS_NOFAILCREATE = &H0010
235Const DS_CONTROL = &H0400
236Const DS_CENTER = &H0800
237Const DS_CENTERMOUSE = &H1000
238Const DS_CONTEXTHELP = &H2000
239
240
241#endif '_INC_WINDOWSTYLES
Note: See TracBrowser for help on using the repository browser.