-
Notifications
You must be signed in to change notification settings - Fork 0
/
wsoconst.php
866 lines (764 loc) · 23.5 KB
/
wsoconst.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
<?php
// Standard Windows Constants
// Form Styles (CreateForm)
const WS_CAPTION = 0x00C00000;
const WS_SYSMENU = 0x00080000;
const WS_THICKFRAME = 0x00040000;
const WS_MINIMIZEBOX = 0x00020000;
const WS_MAXIMIZEBOX = 0x00010000;
const WS_SIZEBOX = 0x00040000;
const WS_CONTROLBOX = 0x00080000;
// Edit Styles (Frame.CreateEdit)
const ES_UPPERCASE = 0x00000008;
const ES_LOWERCASE = 0x00000010;
// Edit Styles (Frame.CreateEdit and Frame.CreateRichEdit)
const ES_MULTILINE = 0x00000004;
const ES_PASSWORD = 0x00000020;
const ES_NOHIDESEL = 0x00000100;
const ES_READONLY = 0x00000800;
// ListBox Styles (Frame.CreateListBox)
const LBS_SORT = 0x00000002;
const LBS_MULTIPLESEL = 0x00000008;
const LBS_NOINTEGRALHEIGHT = 0x00000100;
const LBS_EXTENDEDSEL = 0x00000800;
// ComboBox Styles (Frame.CreateComboBox)
const CBS_SIMPLE = 1;
const CBS_DROPDOWN = 2;
const CBS_DROPDOWNLIST = 3;
const CBS_SORT = 0x00000100;
const CBS_NOINTEGRALHEIGHT = 0x00000400;
const CBS_UPPERCASE = 0x00002000;
const CBS_LOWERCASE = 0x00004000
;
// Progress Bar Styles (Frame.CreateProgressBar)
const PBS_SMOOTH = 0x00000001;
const PBS_VERTICAL = 0x00000004;
// Scroll Bar Styles (Frame.CreateScrollBar)
const SBS_HORZ = 0x00000000;
const SBS_VERT = 0x00000001;
// TabControl Styles (Frame.CreateTabControl)
const TCS_FLATBUTTONS = 0x00000008;
const TCS_HOTTRACK = 0x00000040;
const TCS_TABS = 0x00000000;
const TCS_BUTTONS = 0x00000100;
const TCS_SINGLELINE = 0x00000000;
const TCS_MULTILINE = 0x00000200;
const TCS_RAGGEDRIGHT = 0x00000800;
// Header Styles (Frame.CreateHeader)
const HDS_BUTTONS = 0x00000002;
// List View Styles (Frame.CreateListView)
const LVS_ICON = 0x00000000;
const LVS_REPORT = 0x00000001;
const LVS_SMALLICON = 0x00000002;
const LVS_LIST = 0x00000003;
const LVS_SINGLESEL = 0x00000004;
const LVS_SHOWSELALWAYS = 0x00000008;
const LVS_NOLABELWRAP = 0x00000080;
const LVS_EDITLABELS = 0x00000200;
const LVS_OWNERDATA = 0x00001000;
// TreeView Styles (Frame.CreateTreeView)
const TVS_HASBUTTONS = 0x00000001;
const TVS_HASLINES = 0x00000002;
const TVS_LINESATROOT = 0x00000004;
const TVS_EDITLABELS = 0x00000008;
const TVS_SHOWSELALWAYS = 0x00000020;
const TVS_CHECKBOXES = 0x00000100;
const TVS_TRACKSELECT = 0x00000200;
const TVS_SINGLEEXPAND = 0x00000400;
const TVS_FULLROWSELECT = 0x00001000;
// UpDown Styles (Frame.CreateUpDown)
const UDS_HORZ = 0x00000040;
const UDS_HOTTRACK = 0x00000100;
// TrackBar Styles (Frame.CreateTrackBar)
const TBS_VERT = 0x00000002;
const TBS_HORZ = 0x00000000;
const TBS_TOP = 0x00000004;
const TBS_BOTTOM = 0x00000000;
const TBS_LEFT = 0x00000004;
const TBS_RIGHT = 0x00000000;
const TBS_BOTH = 0x00000008;
const TBS_NOTICKS = 0x00000010;
const TBS_ENABLESELRANGE = 0x00000020;
// Animate Styles (Frame.CreateAnimate)
const ACS_CENTER = 0x00000001;
const ACS_TRANSPARENT = 0x00000002;
// HotKey Rules Flags
const HKCOMB_NONE = 0x00000001;
const HKCOMB_S = 0x00000002;
const HKCOMB_C = 0x00000004;
const HKCOMB_A = 0x00000008;
const HKCOMB_SC = 0x00000010;
const HKCOMB_SA = 0x00000020;
const HKCOMB_CA = 0x00000040;
const HKCOMB_SCA = 0x00000080;
// DateTimePicker Styles (Frame.CreateDateTimePicker)
const DTS_UPDOWN = 0x00000001;
const DTS_SHOWNONE = 0x00000002;
const DTS_RIGHTALIGN = 0x00000020;
// DateTimePicker Format Styles (Frame.CreateDateTimePicker and DateTimePicker.Style)
const DTS_SHORTDATEFORMAT = 0x00000000;
const DTS_LONGDATEFORMAT = 0x00000004;
const DTS_TIMEFORMAT = 0x00000009;
// Calendar Styles (Frame.CreateCalendar)
const MCS_MULTISELECT = 0x00000002;
const MCS_WEEKNUMBERS = 0x00000004;
const MCS_NOTODAYCIRCLE = 0x00000008;
const MCS_NOTODAY = 0x00000010;
// ReBar Styles (Frame.CreateReBar)
// IE 4
const RBS_AUTOSIZE = 0x00002000;
const RBS_VERTICALGRIPPER = 0x00004000;
const RBS_DBLCLKTOGGLE = 0x00008000;
// IE 4
const RBS_VARHEIGHT = 0x00000200;
const RBS_BANDBORDERS = 0x00000400;
const RBS_FIXEDORDER = 0x00000800;
const CCS_VERT = 0x00000080;
// Form MessageBox Flags (See also MessageBox function in Microsoft Platform SDK)
const MB_OK = 0x00000000;
const MB_OKCANCEL = 0x00000001;
const MB_ABORTRETRYIGNORE = 0x00000002;
const MB_YESNOCANCEL = 0x00000003;
const MB_YESNO = 0x00000004;
const MB_RETRYCANCEL = 0x00000005;
// Windows 2000/XP Only
const MB_CANCELTRYCONTINUE = 0x00000006;
// Windows 2000/XP end
const MB_ICONHAND = 0x00000010;
const MB_ICONQUESTION = 0x00000020;
const MB_ICONEXCLAMATION = 0x00000030;
const MB_ICONASTERISK = 0x00000040;
const MB_USERICON = 0x00000080;
const MB_ICONWARNING = 0x00000030;
const MB_ICONERROR = 0x00000010;
const MB_ICONINFORMATION = 0x00000040;
const MB_ICONSTOP = 0x00000010;
const MB_DEFBUTTON1 = 0x00000000;
const MB_DEFBUTTON2 = 0x00000100;
const MB_DEFBUTTON3 = 0x00000200;
const MB_DEFBUTTON4 = 0x00000300;
const MB_APPLMODAL = 0x00000000;
const MB_SYSTEMMODAL = 0x00001000;
const MB_TASKMODAL = 0x00002000;
// Windows 95/98/Me, Windows NT 4.0 and later
const MB_HELP = 0x00004000;
// Windows 95/98/Me, Windows NT 4.0 end
const MB_NOFOCUS = 0x00008000;
const MB_SETFOREGROUND = 0x00010000;
const MB_DEFAULT_DESKTOP_ONLY = 0x00020000;
const MB_TOPMOST = 0x00040000;
const MB_RIGHT = 0x00080000;
const MB_RTLREADING = 0x00100000;
// MessageBox Results
const IDOK = 1;
const IDCANCEL = 2;
const IDABORT = 3;
const IDRETRY = 4;
const IDIGNORE = 5;
const IDYES = 6;
const IDNO = 7;
// Windows 95/98/Me, Windows NT 4.0 and later
const IDHELP = 9;
// Windows 2000/XP Only
const IDTRYAGAIN = 10;
const IDCONTINUE = 11;
// Pen Styles
const PS_SOLID = 0;
const PS_DASH = 1;
const PS_DOT = 2;
const PS_DASHDOT = 3;
const PS_DASHDOTDOT = 4;
const PS_NULL = 5;
const PS_INSIDEFRAME = 6;
// Open and Save Dialog Flags
const OFN_READONLY = 0x00000001;
const OFN_OVERWRITEPROMPT = 0x00000002;
const OFN_HIDEREADONLY = 0x00000004;
const OFN_NOCHANGEDIR = 0x00000008;
const OFN_SHOWHELP = 0x00000010;
const OFN_NOVALIDATE = 0x00000100;
const OFN_ALLOWMULTISELECT = 0x00000200;
const OFN_EXTENSIONDIFFERENT = 0x00000400;
const OFN_PATHMUSTEXIST = 0x00000800;
const OFN_FILEMUSTEXIST = 0x00001000;
const OFN_CREATEPROMPT = 0x00002000;
const OFN_SHAREAWARE = 0x00004000;
const OFN_NOREADONLYRETURN = 0x00008000;
const OFN_NOTESTFILECREATE = 0x00010000;
const OFN_NONETWORKBUTTON = 0x00020000;
const OFN_NOLONGNAMES = 0x00040000;
const OFN_NODEREFERENCELINKS = 0x00100000;
const OFN_LONGNAMES = 0x00200000;
const OFN_ENABLEINCLUDENOTIFY = 0x00400000;
const OFN_ENABLESIZING = 0x00800000;
// Windows 2000/XP
const OFN_DONTADDTORECENT = 0x02000000;
const OFN_FORCESHOWHIDDEN = 0x10000000;
// Print and PrinterSetup Dialog Flags
const PD_ALLPAGES = 0x00000000;
const PD_SELECTION = 0x00000001;
const PD_PAGENUMS = 0x00000002;
const PD_NOSELECTION = 0x00000004;
const PD_NOPAGENUMS = 0x00000008;
const PD_COLLATE = 0x00000010;
const PD_PRINTTOFILE = 0x00000020;
const PD_PRINTSETUP = 0x00000040;
const PD_NOWARNING = 0x00000080;
const PD_RETURNDC = 0x00000100;
const PD_RETURNIC = 0x00000200;
const PD_RETURNDEFAULT = 0x00000400;
const PD_SHOWHELP = 0x00000800;
const PD_USEDEVMODECOPIES = 0x00040000;
const PD_USEDEVMODECOPIESANDCOLLATE = 0x00040000;
const PD_DISABLEPRINTTOFILE = 0x00080000;
const PD_HIDEPRINTTOFILE = 0x00100000;
const PD_NONETWORKBUTTON = 0x00200000;
// Windows 2000/XP
const PD_CURRENTPAGE = 0x00400000;
const PD_NOCURRENTPAGE = 0x00800000;
const PD_EXCLUSIONFLAGS = 0x01000000;
const PD_USELARGETEMPLATE = 0x10000000;
// PageSetup Dialog flags
const PSD_DEFAULTMINMARGINS = 0x00000000;
const PSD_INWININIINTLMEASURE = 0x00000000;
const PSD_MINMARGINS = 0x00000001;
const PSD_MARGINS = 0x00000002;
const PSD_INTHOUSANDTHSOFINCHES = 0x00000004;
const PSD_INHUNDREDTHSOFMILLIMETERS = 0x00000008;
const PSD_DISABLEMARGINS = 0x00000010;
const PSD_DISABLEPRINTER = 0x00000020;
const PSD_NOWARNING = 0x00000080;
const PSD_DISABLEORIENTATION = 0x00000100;
const PSD_RETURNDEFAULT = 0x00000400;
const PSD_DISABLEPAPER = 0x00000200;
const PSD_SHOWHELP = 0x00000800;
const PSD_NONETWORKBUTTON = 0x00200000;
// Color Dialog Flags
const CC_FULLOPEN = 0x00000002;
const CC_PREVENTFULLOPEN = 0x00000004;
const CC_SHOWHELP = 0x00000008;
const CC_SOLIDCOLOR = 0x00000080;
const CC_ANYCOLOR = 0x00000100;
// SelectFolder Dialog Flags
const BIF_RETURNONLYFSDIRS = 0x00000001;
const BIF_DONTGOBELOWDOMAIN = 0x00000002;
const BIF_STATUSTEXT = 0x00000004;
const BIF_RETURNFSANCESTORS = 0x00000008;
const BIF_EDITBOX = 0x00000010;
const BIF_VALIDATE = 0x00000020;
const BIF_NEWDIALOGSTYLE = 0x00000040;
const BIF_USENEWUI = 0x00000050;
const BIF_BROWSEINCLUDEURLS = 0x00000080;
const BIF_UAHINT = 0x00000100;
const BIF_NONEWFOLDERBUTTON = 0x00000200;
const BIF_NOTRANSLATETARGETS = 0x00000400;
const BIF_BROWSEFORCOMPUTER = 0x00001000;
const BIF_BROWSEFORPRINTER = 0x00002000;
const BIF_BROWSEINCLUDEFILES = 0x00004000;
const BIF_SHAREABLE = 0x00008000;
// Font Dialog Flags
const CF_SCREENFONTS = 0x00000001;
const CF_PRINTERFONTS = 0x00000002;
const CF_BOTH = 0x00000003;
const CF_SHOWHELP = 0x00000004;
const CF_USESTYLE = 0x00000080;
const CF_EFFECTS = 0x00000100;
const CF_APPLY = 0x00000200;
const CF_ANSIONLY = 0x00000400;
const CF_SCRIPTSONLY = 0x00000400;
const CF_NOVECTORFONTS = 0x00000800;
const CF_NOOEMFONTS = 0x00000800;
const CF_NOSIMULATIONS = 0x00001000;
const CF_FIXEDPITCHONLY = 0x00004000;
const CF_WYSIWYG = 0x00008000;
const CF_FORCEFONTEXIST = 0x00010000;
const CF_SCALABLEONLY = 0x00020000;
const CF_TTONLY = 0x00040000;
const CF_NOFACESEL = 0x00080000;
const CF_NOSTYLESEL = 0x00100000;
const CF_NOSIZESEL = 0x00200000;
const CF_SELECTSCRIPT = 0x00400000;
const CF_NOSCRIPTSEL = 0x00800000;
const CF_NOVERTFONTS = 0x01000000;
// Raster operation codes (Image.CopyMode)
const SRCCOPY = 0x00CC0020;
const SRCPAINT = 0x00EE0086;
const SRCAND = 0x008800C6;
const SRCINVERT = 0x00660046;
const SRCERASE = 0x00440328;
const NOTSRCCOPY = 0x00330008;
const NOTSRCERASE = 0x001100A6;
const MERGECOPY = 0x00C000CA;
const MERGEPAINT = 0x00BB0226;
const PATCOPY = 0x00F00021;
const PATPAINT = 0x00FB0A09;
const PATINVERT = 0x005A0049;
const DSTINVERT = 0x00550009;
const BLACKNESS = 0x00000042;
const WHITENESS = 0x00FF0062;
// Font Charset
const ANSI_CHARSET = 0;
const DEFAULT_CHARSET = 1;
const SYMBOL_CHARSET = 2;
const SHIFTJIS_CHARSET = 128;
const HANGEUL_CHARSET = 129;
const HANGUL_CHARSET = 129;
const GB2312_CHARSET = 134;
const CHINESEBIG5_CHARSET = 136;
const OEM_CHARSET = 255;
const JOHAB_CHARSET = 130;
const HEBREW_CHARSET = 177;
const ARABIC_CHARSET = 178;
const GREEK_CHARSET = 161;
const TURKISH_CHARSET = 162;
const VIETNAMESE_CHARSET = 163;
const THAI_CHARSET = 222;
const EASTEUROPE_CHARSET = 238;
const RUSSIAN_CHARSET = 204;
const MAC_CHARSET = 77;
const BALTIC_CHARSET = 186;
// Font Weights
const FW_DONTCARE = 0;
const FW_THIN = 100;
const FW_EXTRALIGHT = 200;
const FW_LIGHT = 300;
const FW_NORMAL = 400;
const FW_MEDIUM = 500;
const FW_SEMIBOLD = 600;
const FW_BOLD = 700;
const FW_EXTRABOLD = 800;
const FW_HEAVY = 900;
const FW_ULTRALIGHT = 200;
const FW_REGULAR = 400;
const FW_DEMIBOLD = 600;
const FW_ULTRABOLD = 800;
const FW_BLACK = 900;
// Standard Virtual Keys
const VK_BACK = 0x00000008;
const VK_TAB = 0x00000009;
const VK_CLEAR = 0x0000000C;
const VK_RETURN = 0x0000000D;
const VK_SHIFT = 0x00000010;
const VK_CONTROL = 0x00000011;
const VK_MENU = 0x00000012;
const VK_PAUSE = 0x00000013;
const VK_CAPITAL = 0x00000014;
const VK_KANA = 0x00000015;
const VK_HANGEUL = 0x00000015;
const VK_HANGUL = 0x00000015;
const VK_JUNJA = 0x00000017;
const VK_FINAL = 0x00000018;
const VK_HANJA = 0x00000019;
const VK_KANJI = 0x00000019;
const VK_ESCAPE = 0x0000001B;
const VK_CONVERT = 0x0000001C;
const VK_NONCONVERT = 0x0000001D;
const VK_ACCEPT = 0x0000001E;
const VK_MODECHANGE = 0x0000001F;
const VK_SPACE = 0x00000020;
const VK_PRIOR = 0x00000021;
const VK_NEXT = 0x00000022;
const VK_END = 0x00000023;
const VK_HOME = 0x00000024;
const VK_LEFT = 0x00000025;
const VK_UP = 0x00000026;
const VK_RIGHT = 0x00000027;
const VK_DOWN = 0x00000028;
const VK_SELECT = 0x00000029;
const VK_PRINT = 0x0000002A;
const VK_EXECUTE = 0x0000002B;
const VK_SNAPSHOT = 0x0000002C;
const VK_INSERT = 0x0000002D;
const VK_DELETE = 0x0000002E;
const VK_HELP = 0x0000002F;
const VK_LWIN = 0x0000005B;
const VK_RWIN = 0x0000005C;
const VK_APPS = 0x0000005D;
const VK_SLEEP = 0x0000005F;
const VK_NUMPAD0 = 0x00000060;
const VK_NUMPAD1 = 0x00000061;
const VK_NUMPAD2 = 0x00000062;
const VK_NUMPAD3 = 0x00000063;
const VK_NUMPAD4 = 0x00000064;
const VK_NUMPAD5 = 0x00000065;
const VK_NUMPAD6 = 0x00000066;
const VK_NUMPAD7 = 0x00000067;
const VK_NUMPAD8 = 0x00000068;
const VK_NUMPAD9 = 0x00000069;
const VK_MULTIPLY = 0x0000006A;
const VK_ADD = 0x0000006B;
const VK_SEPARATOR = 0x0000006C;
const VK_SUBTRACT = 0x0000006D;
const VK_DECIMAL = 0x0000006E;
const VK_DIVIDE = 0x0000006F;
const VK_F1 = 0x00000070;
const VK_F2 = 0x00000071;
const VK_F3 = 0x00000072;
const VK_F4 = 0x00000073;
const VK_F5 = 0x00000074;
const VK_F6 = 0x00000075;
const VK_F7 = 0x00000076;
const VK_F8 = 0x00000077;
const VK_F9 = 0x00000078;
const VK_F10 = 0x00000079;
const VK_F11 = 0x0000007A;
const VK_F12 = 0x0000007B;
const VK_F13 = 0x0000007C;
const VK_F14 = 0x0000007D;
const VK_F15 = 0x0000007E;
const VK_F16 = 0x0000007F;
const VK_F17 = 0x00000080;
const VK_F18 = 0x00000081;
const VK_F19 = 0x00000082;
const VK_F20 = 0x00000083;
const VK_F21 = 0x00000084;
const VK_F22 = 0x00000085;
const VK_F23 = 0x00000086;
const VK_F24 = 0x00000087;
const VK_NUMLOCK = 0x00000090;
const VK_SCROLL = 0x00000091;
const VK_OEM_NEC_EQUAL = 0x00000092;
const VK_OEM_FJ_JISHO = 0x00000092;
const VK_OEM_FJ_MASSHOU = 0x00000093;
const VK_OEM_FJ_TOUROKU = 0x00000094;
const VK_OEM_FJ_LOYA = 0x00000095;
const VK_OEM_FJ_ROYA = 0x00000096;
const VK_LSHIFT = 0x000000A0;
const VK_RSHIFT = 0x000000A1;
const VK_LCONTROL = 0x000000A2;
const VK_RCONTROL = 0x000000A3;
const VK_LMENU = 0x000000A4;
const VK_RMENU = 0x000000A5;
// Windows 2000/XP and Later
const VK_BROWSER_BACK = 0x000000A6;
const VK_BROWSER_FORWARD = 0x000000A7;
const VK_BROWSER_REFRESH = 0x000000A8;
const VK_BROWSER_STOP = 0x000000A9;
const VK_BROWSER_SEARCH = 0x000000AA;
const VK_BROWSER_FAVORITES = 0x000000AB;
const VK_BROWSER_HOME = 0x000000AC;
const VK_VOLUME_MUTE = 0x000000AD;
const VK_VOLUME_DOWN = 0x000000AE;
const VK_VOLUME_UP = 0x000000AF;
const VK_MEDIA_NEXT_TRACK = 0x000000B0;
const VK_MEDIA_PREV_TRACK = 0x000000B1;
const VK_MEDIA_STOP = 0x000000B2;
const VK_MEDIA_PLAY_PAUSE = 0x000000B3;
const VK_LAUNCH_MAIL = 0x000000B4;
const VK_LAUNCH_MEDIA_SELECT = 0x000000B5;
const VK_LAUNCH_APP1 = 0x000000B6;
const VK_LAUNCH_APP2 = 0x000000B7;
// End Windows 2000/XP and Later
const VK_OEM_1 = 0x000000BA;
const VK_OEM_PLUS = 0x000000BB;
const VK_OEM_COMMA = 0x000000BC;
const VK_OEM_MINUS = 0x000000BD;
const VK_OEM_PERIOD = 0x000000BE;
const VK_OEM_2 = 0x000000BF;
const VK_OEM_3 = 0x000000C0;
const VK_OEM_4 = 0x000000DB;
const VK_OEM_5 = 0x000000DC;
const VK_OEM_6 = 0x000000DD;
const VK_OEM_7 = 0x000000DE;
const VK_OEM_8 = 0x000000DF;
const VK_OEM_AX = 0x000000E1;
const VK_OEM_102 = 0x000000E2;
const VK_ICO_HELP = 0x000000E3;
const VK_ICO_00 = 0x000000E4;
const VK_PROCESSKEY = 0x000000E5;
const VK_ICO_CLEAR = 0x000000E6;
// Windows 2000/XP and Later
const VK_PACKET = 0x000000E7;
// End Windows 2000/XP and Later
const VK_OEM_RESET = 0x000000E9;
const VK_OEM_JUMP = 0x000000EA;
const VK_OEM_PA1 = 0x000000EB;
const VK_OEM_PA2 = 0x000000EC;
const VK_OEM_PA3 = 0x000000ED;
const VK_OEM_WSCTRL = 0x000000EE;
const VK_OEM_CUSEL = 0x000000EF;
const VK_OEM_ATTN = 0x000000F0;
const VK_OEM_FINISH = 0x000000F1;
const VK_OEM_COPY = 0x000000F2;
const VK_OEM_AUTO = 0x000000F3;
const VK_OEM_ENLW = 0x000000F4;
const VK_OEM_BACKTAB = 0x000000F5;
const VK_ATTN = 0x000000F6;
const VK_CRSEL = 0x000000F7;
const VK_EXSEL = 0x000000F8;
const VK_EREOF = 0x000000F9;
const VK_PLAY = 0x000000FA;
const VK_ZOOM = 0x000000FB;
const VK_NONAME = 0x000000FC;
const VK_PA1 = 0x000000FD;
const VK_OEM_CLEAR = 0x000000FE;
// CheckBox States
const BST_UNCHECKED = 0x00000000;
const BST_CHECKED = 0x00000001;
const BST_INDETERMINATE = 0x00000002;
// Mouse Event Flags
const MK_LBUTTON = 0x00000001;
const MK_RBUTTON = 0x00000002;
const MK_SHIFT = 0x00000004;
const MK_CONTROL = 0x00000008;
const MK_MBUTTON = 0x00000010;
// Windows 2000/XP
const MK_XBUTTON1 = 0x00000020;
const MK_XBUTTON2 = 0x00000040;
// System Colors
const COLOR_SCROLLBAR = 0;
const COLOR_BACKGROUND = 1;
const COLOR_ACTIVECAPTION = 2;
const COLOR_INACTIVECAPTION = 3;
const COLOR_MENU = 4;
const COLOR_WINDOW = 5;
const COLOR_WINDOWFRAME = 6;
const COLOR_MENUTEXT = 7;
const COLOR_WINDOWTEXT = 8;
const COLOR_CAPTIONTEXT = 9;
const COLOR_ACTIVEBORDER = 10;
const COLOR_INACTIVEBORDER = 11;
const COLOR_APPWORKSPACE = 12;
const COLOR_HIGHLIGHT = 13;
const COLOR_HIGHLIGHTTEXT = 14;
const COLOR_BTNFACE = 15;
const COLOR_BTNSHADOW = 16;
const COLOR_GRAYTEXT = 17;
const COLOR_BTNTEXT = 18;
const COLOR_INACTIVECAPTIONTEXT = 19;
const COLOR_BTNHIGHLIGHT = 20;
const COLOR_3DDKSHADOW = 21;
const COLOR_3DLIGHT = 22;
const COLOR_INFOTEXT = 23;
const COLOR_INFOBK = 24;
const COLOR_DESKTOP = 1;
const COLOR_3DFACE = 15;
const COLOR_3DSHADOW = 16;
const COLOR_3DHIGHLIGHT = 20;
const COLOR_3DHILIGHT = 20;
const COLOR_BTNHILIGHT = 20;
// Windows 98/Me, Windows 2000/XP
const COLOR_HOTLIGHT = 26;
const COLOR_GRADIENTACTIVECAPTION = 27;
const COLOR_GRADIENTINACTIVECAPTION = 28;
// Windows XP
const COLOR_MENUHILIGHT = 29;
const COLOR_MENUBAR = 30;
// Find and Replace Dialog Flags
const FR_DOWN = 0x00000001;
const FR_WHOLEWORD = 0x00000002;
const FR_MATCHCASE = 0x00000004;
const FR_SHOWHELP = 0x00000080;
const FR_NOUPDOWN = 0x00000400;
const FR_NOMATCHCASE = 0x00000800;
const FR_NOWHOLEWORD = 0x00001000;
const FR_HIDEUPDOWN = 0x00004000;
const FR_HIDEMATCHCASE = 0x00008000;
const FR_HIDEWHOLEWORD = 0x00010000;
// RichEdit Load and Save Flags
const SF_TEXT = 0x00000001;
const SF_RTF = 0x00000002;
const SF_RTFNOOBJS = 0x00000003;
const SF_TEXTIZED = 0x00000004;
const SF_UNICODE = 0x00000010;
const SF_USECODEPAGE = 0x00000020;
const SFF_SELECTION = 0x00008000;
const SFF_PLAINRTF = 0x00004000;
// Frame.TextRect Flags
const DT_TOP = 0x00000000;
const DT_LEFT = 0x00000000;
const DT_CENTER = 0x00000001;
const DT_RIGHT = 0x00000002;
const DT_VCENTER = 0x00000004;
const DT_BOTTOM = 0x00000008;
const DT_WORDBREAK = 0x00000010;
const DT_SINGLELINE = 0x00000020;
const DT_EXPANDTABS = 0x00000040;
const DT_TABSTOP = 0x00000080;
const DT_NOCLIP = 0x00000100;
const DT_EXTERNALLEADING = 0x00000200;
const DT_CALCRECT = 0x00000400;
const DT_NOPREFIX = 0x00000800;
const DT_INTERNAL = 0x00001000;
const DT_EDITCONTROL = 0x00002000;
const DT_PATH_ELLIPSIS = 0x00004000;
const DT_END_ELLIPSIS = 0x00008000;
const DT_MODIFYSTRING = 0x00010000;
const DT_RTLREADING = 0x00020000;
const DT_WORD_ELLIPSIS = 0x00040000;
// Windows 98/Me, Windows 2000/XP
const DT_NOFULLWIDTHCHARBREAK = 0x00080000;
// Windows 2000/XP
const DT_HIDEPREFIX = 0x00100000;
const DT_PREFIXONLY = 0x00200000;
// Polygon fill mode
const ALTERNATE = 1;
const WINDING = 2;
// Combine Regions Modes
const RGN_AND = 1;
const RGN_OR = 2;
const RGN_XOR = 3;
const RGN_DIFF = 4;
const RGN_COPY = 5;
// OnHitTest codes
const HTERROR = -2;
const HTTRANSPARENT = -1;
const HTNOWHERE = 0;
const HTCLIENT = 1;
const HTCAPTION = 2;
const HTSYSMENU = 3;
const HTGROWBOX = 4;
const HTSIZE = 4;
const HTMENU = 5;
const HTHSCROLL = 6;
const HTVSCROLL = 7;
const HTMINBUTTON = 8;
const HTMAXBUTTON = 9;
const HTLEFT = 10;
const HTRIGHT = 11;
const HTTOP = 12;
const HTTOPLEFT = 13;
const HTTOPRIGHT = 14;
const HTBOTTOM = 15;
const HTBOTTOMLEFT = 16;
const HTBOTTOMRIGHT = 17;
const HTBORDER = 18;
const HTREDUCE = 8;
const HTZOOM = 9;
const HTSIZEFIRST = 10;
const HTSIZELAST = 17;
const HTOBJECT = 19;
const HTCLOSE = 20;
const HTHELP = 21;
const IDC_ARROW = 32512;
const IDC_IBEAM = 32513;
const IDC_WAIT = 32514;
const IDC_CROSS = 32515;
const IDC_UPARROW = 32516;
const IDC_SIZE = 32640;
const IDC_ICON = 32641;
const IDC_SIZENWSE = 32642;
const IDC_SIZENESW = 32643;
const IDC_SIZEWE = 32644;
const IDC_SIZENS = 32645;
const IDC_SIZEALL = 32646;
const IDC_NO = 32648;
// Windows 98/Me, Windows 2000/XP
const IDC_HAND = 32649;
const IDC_APPSTARTING = 32650;
const IDC_HELP = 32651;
// Constants
// COLOR_NONE Constant
const COLOR_NONE = 0xFFFFFFFF;
// POSITION_NONE Constant
const POSITION_NONE = 0x0F000000;
// Keyboard Flags (OnKeyDown, OnKeyUp)
const KB_SHIFT = 0x10000000;
const KB_CTRL = 0x20000000;
const KB_ALT = 0x40000000;
const KB_LSHIFT = 0x01000000;
const KB_LCTRL = 0x02000000;
const KB_LALT = 0x04000000;
const KB_RSHIFT = 0x00100000;
const KB_RCTRL = 0x00200000;
const KB_RALT = 0x00400000;
// Align
const AL_NONE = 0;
const AL_LEFT = 1;
const AL_RIGHT = 2;
const AL_CENTER = 3;
const AL_TOP = 4;
const AL_BOTTOM = 5;
const AL_TOPLEFT = 6;
const AL_TOPRIGHT = 7;
const AL_BOTTOMLEFT = 8;
const AL_BOTTOMRIGHT = 9;
const AL_CLIENT = 10;
const AL_AT_LEFT = 11;
const AL_AT_TOP = 12;
const AL_AT_RIGHT = 13;
const AL_AT_BOTTOM = 14;
// Brush Styles
const B_CLEAR = 0;
const B_SOLID = 1;
const B_DIAGONAL = 2;
const B_CROSS = 3;
const B_DIAGCROSS = 4;
const B_FDIAGONAL = 5;
const B_HORIZONTAL = 6;
const B_VERTICAL = 7;
const B_BITMAP = 8;
const B_GRADIENT = 0x10000000;
// TREEVIEW_THISITEM Constant
const TREEVIEW_THISITEM = -1;
// ScrollBars
const SS_NONE = 0;
const SS_HORIZONTAL = 1;
const SS_VERTICAL = 2;
const SS_BOTH = 3;
// Bevel Styles (StatusItem.Border, Frame.BevelInner, Frame.BevelOuter)
const BS_NONE = 0;
const BS_LOWERED = -1;
const BS_RAISED = 1;
// TrackBar tick marks constants
const TM_NONE = 0;
const TM_TOP = 1;
const TM_BOTTOM = -1;
const TM_LEFT = 1;
const TM_RIGHT = -1;
const TM_BOTH = 2;
// Animate IDs
const AVI_FINDFOLDER = 0;
const AVI_FINDFILE = 1;
const AVI_FINDCOMPUTER = 2;
const AVI_COPYFILES = 3;
const AVI_COPYFILE = 4;
const AVI_RECYCLEFILE = 5;
const AVI_EMPTYRECYCLE = 6;
const AVI_DELETEFILE = 7;
// DataTypes
const DT_NONE = 0;
const DT_STRING = 1;
const DT_INTEGER = 2;
const DT_FLOAT = 3;
const DT_HEXINT = 4;
// SortTypes
const SORT_NONE = 0;
const SORT_NORMAL = 1;
const SORT_REVERSE = -1;
// Draw Types
const DI_DRAW = 0;
const DI_STRETCH = 1;
const DI_CENTER = 2;
const DI_PROPORTIONAL_STRETCH = 5;
// CharCase
const CC_NORMAL = 0;
const CC_LOWERCASE = -1;
const CC_UPPERCASE = 1;
const DIRECTION_TOP_BOTTOM = 2700;
const DIRECTION_LEFT_RIGHT = 0;
const DIRECTION_BOTTOM_TOP = 900;
const DIRECTION_RIGHT_LEFT = 1800;
const DIRECTION_CENTER = 0x20000000;
const DIRECTION_TOP_CENTER_BOTTOM = 0x20000A8C;
const DIRECTION_LEFT_CENTER_RIGHT = 0x20000000;
const IDC_DEFAULT = -1;
const IDC_NONE = 0;
const IDC_PARENT = -2;
// End WSO Constants
// Other Constants
const WS_SIZEGRIP = 0x00040000;
const WS_DEFAULT = 0x00CF0000;
const WS_DIALOGDEFAULT = 0x00C80000;
const OFN_OPENDEFAULT = 0x00000004;
const OFN_SAVEDEFAULT = 0x00000006;
const PD_DEFAULT = 0x0004000C;
const PSD_DEFAULT = 0x00000002;
const CC_DEFAULT = 0;
const BIF_DEFAULT = 0x00000001;
const CF_DEFAULT = 0x00000101;
const TVS_DEFAULT = 0x00000007;
const TCS_DEFAULT = 0x00000240;
const RBS_DEFAULT = 0x00002200;
// End Constants
?>