source: trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/MessageDefs.java @ 401

Last change on this file since 401 was 171, checked in by sherbold, 13 years ago
  • code documentation and formatting
File size: 7.3 KB
Line 
1package de.ugoe.cs.eventbench.windows;
2
3/**
4 * <p>
5 * Contains definitions of windows message codes, such that they can be used
6 * internally by their name and not their integer value, to improve the
7 * readability of the source code.
8 * </p>
9 *
10 * @author Steffen Herbold
11 * @version 1.0
12 */
13public interface MessageDefs {
14
15        public static final int WM_NULL = 0;
16        public static final int WM_CREATE = 1;
17        public static final int WM_DESTROY = 2;
18        public static final int WM_MOVE = 3;
19        public static final int WM_SIZE = 5;
20        public static final int WM_ACTIVATE = 6;
21        public static final int WM_SETFOCUS = 7;
22        public static final int WM_KILLFOCUS = 8;
23        public static final int WM_ENABLE = 10;
24        public static final int WM_SETREDRAW = 11;
25        public static final int WM_SETTEXT = 12;
26        public static final int WM_GETTEXT = 13;
27        public static final int WM_GETTEXTLENGTH = 14;
28        public static final int WM_PAINT = 15;
29        public static final int WM_CLOSE = 16;
30        public static final int WM_QUERYENDSESSION = 17;
31        public static final int WM_QUIT = 18;
32        public static final int WM_QUERYOPEN = 19;
33        public static final int WM_ERASEBKGND = 20;
34        public static final int WM_SYSCOLORCHANGE = 21;
35        public static final int WM_ENDSESSION = 22;
36        public static final int WM_SHOWWINDOW = 24;
37        public static final int WM_CTLCOLOR = 25;
38        public static final int WM_WININICHANGE = 26;
39        public static final int WM_DEVMODECHANGE = 27;
40        public static final int WM_ACTIVATEAPP = 28;
41        public static final int WM_FONTCHANGE = 29;
42        public static final int WM_TIMECHANGE = 30;
43        public static final int WM_CANCELMODE = 31;
44        public static final int WM_SETCURSOR = 32;
45        public static final int WM_MOUSEACTIVATE = 33;
46        public static final int WM_CHILDACTIVATE = 34;
47        public static final int WM_QUEUESYNC = 35;
48        public static final int WM_GETMINMAXINFO = 36;
49        public static final int WM_PAINTICON = 38;
50        public static final int WM_ICONERASEBKGND = 39;
51        public static final int WM_NEXTDLGCTL = 40;
52        public static final int WM_SPOOLERSTATUS = 42;
53        public static final int WM_DRAWITEM = 43;
54        public static final int WM_MEASUREITEM = 44;
55        public static final int WM_DELETEITEM = 45;
56        public static final int WM_VKEYTOITEM = 46;
57        public static final int WM_CHARTOITEM = 47;
58        public static final int WM_SETFONT = 48;
59        public static final int WM_GETFONT = 49;
60        public static final int WM_SETHOTKEY = 50;
61        public static final int WM_GETHOTKEY = 51;
62        public static final int WM_QUERYDRAGICON = 55;
63        public static final int WM_COMPAREITEM = 57;
64        public static final int WM_GETOBJECT = 61;
65        public static final int WM_COMPACTING = 65;
66        public static final int WM_COMMNOTIFY = 68;
67        public static final int WM_WINDOWPOSCHANGING = 70;
68        public static final int WM_WINDOWPOSCHANGED = 71;
69        public static final int WM_POWER = 72;
70        public static final int WM_COPYDATA = 74;
71        public static final int WM_CANCELJOURNAL = 75;
72        public static final int WM_NOTIFY = 78;
73        public static final int WM_INPUTLANGCHANGEREQUEST = 80;
74        public static final int WM_INPUTLANGCHANGE = 81;
75        public static final int WM_TCARD = 82;
76        public static final int WM_HELP = 83;
77        public static final int WM_USERCHANGED = 84;
78        public static final int WM_NOTIFYFORMAT = 85;
79        public static final int WM_CONTEXTMENU = 123;
80        public static final int WM_STYLECHANGING = 124;
81        public static final int WM_STYLECHANGED = 125;
82        public static final int WM_DISPLAYCHANGE = 126;
83        public static final int WM_GETICON = 127;
84        public static final int WM_SETICON = 128;
85        public static final int WM_NCCREATE = 129;
86        public static final int WM_NCDESTROY = 130;
87        public static final int WM_NCCALCSIZE = 131;
88        public static final int WM_NCHITTEST = 132;
89        public static final int WM_NCPAINT = 133;
90        public static final int WM_NCACTIVATE = 134;
91        public static final int WM_GETDLGCODE = 135;
92        public static final int WM_SYNCPAINT = 136;
93        public static final int WM_NCMOUSEMOVE = 160;
94        public static final int WM_NCLBUTTONDOWN = 161;
95        public static final int WM_NCLBUTTONUP = 162;
96        public static final int WM_NCLBUTTONDBLCLK = 163;
97        public static final int WM_NCRBUTTONDOWN = 164;
98        public static final int WM_NCRBUTTONUP = 165;
99        public static final int WM_NCRBUTTONDBLCLK = 166;
100        public static final int WM_NCMBUTTONDOWN = 167;
101        public static final int WM_NCMBUTTONUP = 168;
102        public static final int WM_NCMBUTTONDBLCLK = 169;
103        public static final int WM_NCXBUTTONDOWN = 171;
104        public static final int WM_NCXBUTTONUP = 172;
105        public static final int WM_NCXBUTTONDBLCLK = 173;
106        public static final int WM_INPUT = 255;
107        public static final int WM_KEYDOWN = 256;
108        public static final int WM_KEYFIRST = 256;
109        public static final int WM_KEYUP = 257;
110        public static final int WM_CHAR = 258;
111        public static final int WM_DEADCHAR = 259;
112        public static final int WM_SYSKEYDOWN = 260;
113        public static final int WM_SYSKEYUP = 261;
114        public static final int WM_SYSCHAR = 262;
115        public static final int WM_SYSDEADCHAR = 263;
116        public static final int WM_KEYLAST = 264;
117        public static final int WM_WNT_CONVERTREQUESTEX = 265;
118        public static final int WM_CONVERTREQUEST = 266;
119        public static final int WM_CONVERTRESULT = 267;
120        public static final int WM_INTERIM = 268;
121        public static final int WM_IME_STARTCOMPOSITION = 269;
122        public static final int WM_IME_ENDCOMPOSITION = 270;
123        public static final int WM_IME_COMPOSITION = 271;
124        public static final int WM_IME_KEYLAST = 271;
125        public static final int WM_INITDIALOG = 272;
126        public static final int WM_COMMAND = 273;
127        public static final int WM_SYSCOMMAND = 274;
128        public static final int WM_TIMER = 275;
129        public static final int WM_HSCROLL = 276;
130        public static final int WM_VSCROLL = 277;
131        public static final int WM_INITMENU = 278;
132        public static final int WM_INITMENUPOPUP = 279;
133        public static final int WM_MENUSELECT = 287;
134        public static final int WM_MENUCHAR = 288;
135        public static final int WM_ENTERIDLE = 289;
136        public static final int WM_MENURBUTTONUP = 290;
137        public static final int WM_MENUDRAG = 291;
138        public static final int WM_MENUGETOBJECT = 292;
139        public static final int WM_UNINTMENUPOPUP = 293;
140        public static final int WM_MENUCOMMAND = 294;
141        public static final int WM_CHANGEUISTATE = 295;
142        public static final int WM_UPDATEUISTATE = 296;
143        public static final int WM_QUERYUISTATE = 297;
144        public static final int WM_CTLCOLORMSGBOX = 306;
145        public static final int WM_CTLCOLOREDIT = 307;
146        public static final int WM_CTLCOLORLISTBOX = 308;
147        public static final int WM_CTLCOLORBTN = 309;
148        public static final int WM_CTLCLOLORDLG = 310;
149        public static final int WM_CTLCOLORSCROLLBAR = 311;
150        public static final int WM_CTLCOLORSTATIC = 312;
151        public static final int WM_MOUSEFIRST = 512;
152        public static final int WM_MOUSEMOVE = 512;
153        public static final int WM_LBUTTONDOWN = 513;
154        public static final int WM_LBUTTONUP = 514;
155        public static final int WM_LBUTTONDBLCLK = 515;
156        public static final int WM_RBUTTONDOWN = 516;
157        public static final int WM_RBUTTONUP = 517;
158        public static final int WM_RBUTTONDBLCLK = 518;
159        public static final int WM_MBUTTONDOWN = 519;
160        public static final int WM_MBUTTONUP = 520;
161        public static final int WM_MBUTTONDBLCLK = 521;
162        public static final int WM_MOUSELAST = 521;
163        public static final int WM_MOUSEWHEEL = 522;
164        public static final int WM_XBUTTONDOWN = 523;
165        public static final int WM_XBUTTONUP = 524;
166        public static final int WM_XBUTTONDBLCLK = 525;
167}
Note: See TracBrowser for help on using the repository browser.