1 // Permission is hereby granted, free of charge, to any person obtaining
2 // a copy of this software and associated documentation files (the
3 // "Software"), to deal in the Software without restriction, including
4 // without limitation the rights to use, copy, modify, merge, publish,
5 // distribute, sublicense, and/or sell copies of the Software, and to
6 // permit persons to whom the Software is furnished to do so, subject to
7 // the following conditions:
9 // The above copyright notice and this permission notice shall be
10 // included in all copies or substantial portions of the Software.
12 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
16 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 // Copyright (c) 2004 Novell, Inc.
23 // Peter Bartok pbartok@novell.com
29 // Revision 1.3 2004/08/21 20:22:58 pbartok
30 // - Added [Flags] attribute so that modifiers can be used in bitwise ops
32 // Revision 1.2 2004/08/11 22:20:59 pbartok
35 // Revision 1.1 2004/07/09 05:21:25 pbartok
42 namespace System.Windows.Forms {
50 XButton1 = 0x00000005,
51 XButton2 = 0x00000006,
54 LineFeed = 0x0000000A,
58 ShiftKey = 0x00000010,
59 ControlKey = 0x00000011,
62 CapsLock = 0x00000014,
64 KanaMode = 0x00000015,
65 HanguelMode = 0x00000015,
66 HangulMode = 0x00000015,
67 JunjaMode = 0x00000017,
68 FinalMode = 0x00000018,
69 KanjiMode = 0x00000019,
70 HanjaMode = 0x00000019,
72 IMEConvert = 0x0000001C,
73 IMENonconvert = 0x0000001D,
74 IMEAceept = 0x0000001E,
75 IMEModeChange = 0x0000001F,
79 PageDown = 0x00000022,
90 PrintScreen = 0x0000002C,
91 Snapshot = 0x0000002C,
134 NumPad0 = 0x00000060,
135 NumPad1 = 0x00000061,
136 NumPad2 = 0x00000062,
137 NumPad3 = 0x00000063,
138 NumPad4 = 0x00000064,
139 NumPad5 = 0x00000065,
140 NumPad6 = 0x00000066,
141 NumPad7 = 0x00000067,
142 NumPad8 = 0x00000068,
143 NumPad9 = 0x00000069,
144 Multiply = 0x0000006A,
146 Separator = 0x0000006C,
147 Subtract = 0x0000006D,
148 Decimal = 0x0000006E,
174 NumLock = 0x00000090,
176 LShiftKey = 0x000000A0,
177 RShiftKey = 0x000000A1,
178 LControlKey = 0x000000A2,
179 RControlKey = 0x000000A3,
182 BrowserBack = 0x000000A6,
183 BrowserForward = 0x000000A7,
184 BrowserRefresh = 0x000000A8,
185 BrowserStop = 0x000000A9,
186 BrowserSearch = 0x000000AA,
187 BrowserFavorites= 0x000000AB,
188 BrowserHome = 0x000000AC,
189 VolumeMute = 0x000000AD,
190 VolumeDown = 0x000000AE,
191 VolumeUp = 0x000000AF,
192 MediaNextTrack = 0x000000B0,
193 MediaPreviousTrack= 0x000000B1,
194 MediaStop = 0x000000B2,
195 MediaPlayPause = 0x000000B3,
196 LaunchMail = 0x000000B4,
197 SelectMedia = 0x000000B5,
198 LaunchApplication1= 0x000000B6,
199 LaunchApplication2= 0x000000B7,
200 OemSemicolon = 0x000000BA,
201 Oemplus = 0x000000BB,
202 Oemcomma = 0x000000BC,
203 OemMinus = 0x000000BD,
204 OemPeriod = 0x000000BE,
205 OemQuestion = 0x000000BF,
206 Oemtilde = 0x000000C0,
207 OemOpenBrackets = 0x000000DB,
208 OemPipe = 0x000000DC,
209 OemCloseBrackets= 0x000000DD,
210 OemQuotes = 0x000000DE,
212 OemBackslash = 0x000000E2,
213 ProcessKey = 0x000000E5,
217 EraseEof = 0x000000F9,
222 OemClear = 0x000000FE,
223 KeyCode = 0x0000FFFF,
225 Control = 0x00020000,
227 Modifiers = unchecked((int)0xFFFF0000)