* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / Shortcut.cs
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:
8 //
9 // The above copyright notice and this permission notice shall be
10 // included in all copies or substantial portions of the Software.
11 //
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.
19 //
20 // Copyright (c) 2004 Novell, Inc.
21 //
22 // Authors:
23 //      Jordi Mas i Hernandez, jordi@ximian.com
24 //
25 //
26
27 using System.Runtime.InteropServices;
28
29 namespace System.Windows.Forms
30 {
31         [ComVisible (true)]
32         public enum Shortcut
33         {
34                 Alt0            = 0x040030,
35                 Alt1            = 0x040031,
36                 Alt2            = 0x040032,
37                 Alt3            = 0x040033,
38                 Alt4            = 0x040034,
39                 Alt5            = 0x040035,
40                 Alt6            = 0x040036,
41                 Alt7            = 0x040037,
42                 Alt8            = 0x040038,
43                 Alt9            = 0x040039,
44                 AltBksp         = 0x040008,
45 #if NET_2_0
46                 AltDownArrow    = 0x040028,
47 #endif
48                 AltF1           = 0x040070,
49                 AltF10          = 0x040079,
50                 AltF11          = 0x04007A,
51                 AltF12          = 0x04007B,
52                 AltF2           = 0x040071,
53                 AltF3           = 0x040072,
54                 AltF4           = 0x040073,
55                 AltF5           = 0x040074,
56                 AltF6           = 0x040075,
57                 AltF7           = 0x040076,
58                 AltF8           = 0x040077,
59                 AltF9           = 0x040078,
60 #if NET_2_0
61                 AltLeftArrow    = 0x040025,
62                 AltRightArrow   = 0x040027,
63                 AltUpArrow      = 0x040026,
64 #endif
65                 Ctrl0           = 0x020030,
66                 Ctrl1           = 0x020031,
67                 Ctrl2           = 0x020032,
68                 Ctrl3           = 0x020033,
69                 Ctrl4           = 0x020034,
70                 Ctrl5           = 0x020035,
71                 Ctrl6           = 0x020036,
72                 Ctrl7           = 0x020037,
73                 Ctrl8           = 0x020038,
74                 Ctrl9           = 0x020039,
75                 CtrlA           = 0x020041,
76                 CtrlB           = 0x020042,
77                 CtrlC           = 0x020043,
78                 CtrlD           = 0x020044,
79                 CtrlDel         = 0x02002E,
80                 CtrlE           = 0x020045,
81                 CtrlF           = 0x020046,
82                 CtrlF1          = 0x020070,
83                 CtrlF10         = 0x020079,
84                 CtrlF11         = 0x02007A,
85                 CtrlF12         = 0x02007B,
86                 CtrlF2          = 0x020071,
87                 CtrlF3          = 0x020072,
88                 CtrlF4          = 0x020073,
89                 CtrlF5          = 0x020074,
90                 CtrlF6          = 0x020075,
91                 CtrlF7          = 0x020076,
92                 CtrlF8          = 0x020077,
93                 CtrlF9          = 0x020078,
94                 CtrlG           = 0x020047,
95                 CtrlH           = 0x020048,
96                 CtrlI           = 0x020049,
97                 CtrlIns         = 0x02002D,
98                 CtrlJ           = 0x02004A,
99                 CtrlK           = 0x02004B,
100                 CtrlL           = 0x02004C,
101                 CtrlM           = 0x02004D,
102                 CtrlN           = 0x02004E,
103                 CtrlO           = 0x02004F,
104                 CtrlP           = 0x020050,
105                 CtrlQ           = 0x020051,
106                 CtrlR           = 0x020052,
107                 CtrlS           = 0x020053,
108                 CtrlShift0      = 0x030030,
109                 CtrlShift1      = 0x030031,
110                 CtrlShift2      = 0x030032,
111                 CtrlShift3      = 0x030033,
112                 CtrlShift4      = 0x030034,
113                 CtrlShift5      = 0x030035,
114                 CtrlShift6      = 0x030036,
115                 CtrlShift7      = 0x030037,
116                 CtrlShift8      = 0x030038,
117                 CtrlShift9      = 0x030039,
118                 CtrlShiftA      = 0x030041,
119                 CtrlShiftB      = 0x030042,
120                 CtrlShiftC      = 0x030043,
121                 CtrlShiftD      = 0x030044,
122                 CtrlShiftE      = 0x030045,
123                 CtrlShiftF      = 0x030046,
124                 CtrlShiftF1     = 0x030070,
125                 CtrlShiftF10    = 0x030079,
126                 CtrlShiftF11    = 0x03007A,
127                 CtrlShiftF12    = 0x03007B,
128                 CtrlShiftF2     = 0x030071,
129                 CtrlShiftF3     = 0x030072,
130                 CtrlShiftF4     = 0x030073,
131                 CtrlShiftF5     = 0x030074,
132                 CtrlShiftF6     = 0x030075,
133                 CtrlShiftF7     = 0x030076,
134                 CtrlShiftF8     = 0x030077,
135                 CtrlShiftF9     = 0x030078,
136                 CtrlShiftG      = 0x030047,
137                 CtrlShiftH      = 0x030048,
138                 CtrlShiftI      = 0x030049,
139                 CtrlShiftJ      = 0x03004A,
140                 CtrlShiftK      = 0x03004B,
141                 CtrlShiftL      = 0x03004C,
142                 CtrlShiftM      = 0x03004D,
143                 CtrlShiftN      = 0x03004E,
144                 CtrlShiftO      = 0x03004F,
145                 CtrlShiftP      = 0x030050,
146                 CtrlShiftQ      = 0x030051,
147                 CtrlShiftR      = 0x030052,
148                 CtrlShiftS      = 0x030053,
149                 CtrlShiftT      = 0x030054,
150                 CtrlShiftU      = 0x030055,
151                 CtrlShiftV      = 0x030056,
152                 CtrlShiftW      = 0x030057,
153                 CtrlShiftX      = 0x030058,
154                 CtrlShiftY      = 0x030059,
155                 CtrlShiftZ      = 0x03005A,
156                 CtrlT           = 0x020054,
157                 CtrlU           = 0x020055,
158                 CtrlV           = 0x020056,
159                 CtrlW           = 0x020057,
160                 CtrlX           = 0x020058,
161                 CtrlY           = 0x020059,
162                 CtrlZ           = 0x02005A,
163                 Del             = 0x00002E,
164                 F1              = 0x000070,
165                 F10             = 0x000079,
166                 F11             = 0x00007A,
167                 F12             = 0x00007B,
168                 F2              = 0x000071,
169                 F3              = 0x000072,
170                 F4              = 0x000073,
171                 F5              = 0x000074,
172                 F6              = 0x000075,
173                 F7              = 0x000076,
174                 F8              = 0x000077,
175                 F9              = 0x000078,
176                 Ins             = 0x00002D,
177                 None            = 0x000000,
178                 ShiftDel        = 65582,
179                 ShiftF1         = 65648,
180                 ShiftF10        = 65657,
181                 ShiftF11        = 65658,
182                 ShiftF12        = 65659,
183                 ShiftF2         = 65649,
184                 ShiftF3         = 65650,
185                 ShiftF4         = 65651,
186                 ShiftF5         = 65652,
187                 ShiftF6         = 65653,
188                 ShiftF7         = 65654,
189                 ShiftF8         = 65655,
190                 ShiftF9         = 65656,
191                 ShiftIns        = 65581,
192         }
193 }
194
195