source: branch/egtra-stream-without-en_dec/api_windowstyles.sbp@ 682

Last change on this file since 682 was 575, checked in by イグトランス (egtra), 16 years ago

ウィンドウ作成関数を親用のCreateFormと子用のCreateに分離。

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