[OSK] Implement standard/enhanced keyboard handler (#1338)
[reactos.git] / base / applications / osk / lang / en-US.rc
1 /*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/applications/osk/lang/en-US.rc
5 * PURPOSE: On screen keyboard (American resources).
6 * PROGRAMMERS: Denis ROBERT
7 */
8
9 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
10
11 MAIN_DIALOG_ENHANCED_KB DIALOGEX DISCARDABLE 0, 0, 463, 115
12 CAPTION "On screen keyboard"
13 FONT 8, "MS Shell Dlg"
14 MENU IDR_OSK_MENU
15 STYLE WS_SYSMENU | WS_MINIMIZEBOX
16 EXSTYLE WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_APPWINDOW
17 BEGIN
18 PUSHBUTTON "Esc",SCAN_CODE_110,3,3,15,15
19 PUSHBUTTON "F1",SCAN_CODE_112,43,3,15,15
20 PUSHBUTTON "F2",SCAN_CODE_113,63,3,15,15
21 PUSHBUTTON "F3",SCAN_CODE_114,83,3,15,15
22 PUSHBUTTON "F4",SCAN_CODE_115,103,3,15,15
23 PUSHBUTTON "F5",SCAN_CODE_116,143,3,15,15
24 PUSHBUTTON "F6",SCAN_CODE_117,163,3,15,15
25 PUSHBUTTON "F7",SCAN_CODE_118,183,3,15,15
26 PUSHBUTTON "F8",SCAN_CODE_119,203,3,15,15
27 PUSHBUTTON "F9",SCAN_CODE_120,243,3,15,15
28 PUSHBUTTON "F10",SCAN_CODE_121,263,3,15,15
29 PUSHBUTTON "F11",SCAN_CODE_122,283,3,15,15
30 PUSHBUTTON "F12",SCAN_CODE_123,303,3,15,15
31 PUSHBUTTON "Prn",SCAN_CODE_124,323,3,15,15
32 PUSHBUTTON "Stop",SCAN_CODE_125,343,3,15,15
33 PUSHBUTTON "Attn",SCAN_CODE_126,363,3,15,15
34 PUSHBUTTON "`",SCAN_CODE_1,3,22,15,15
35 PUSHBUTTON "1",SCAN_CODE_2,23,22,15,15
36 PUSHBUTTON "2",SCAN_CODE_3,43,22,15,15
37 PUSHBUTTON "3",SCAN_CODE_4,63,22,15,15
38 PUSHBUTTON "4",SCAN_CODE_5,83,22,15,15
39 PUSHBUTTON "5",SCAN_CODE_6,103,22,15,15
40 PUSHBUTTON "6",SCAN_CODE_7,123,22,15,15
41 PUSHBUTTON "7",SCAN_CODE_8,143,22,15,15
42 PUSHBUTTON "8",SCAN_CODE_9,163,22,15,15
43 PUSHBUTTON "9",SCAN_CODE_10,183,22,15,15
44 PUSHBUTTON "0",SCAN_CODE_11,203,22,15,15
45 PUSHBUTTON "-",SCAN_CODE_12,223,22,15,15
46 PUSHBUTTON "=",SCAN_CODE_13,243,22,15,15
47 PUSHBUTTON "<--",SCAN_CODE_15,263,22,55,15,BS_ICON
48 PUSHBUTTON "Tab",SCAN_CODE_16,3,41,35,15,BS_ICON
49 PUSHBUTTON "q",SCAN_CODE_17,42,41,15,15
50 PUSHBUTTON "w",SCAN_CODE_18,61,41,15,15
51 PUSHBUTTON "e",SCAN_CODE_19,80,41,15,15
52 PUSHBUTTON "r",SCAN_CODE_20,99,41,15,15
53 PUSHBUTTON "t",SCAN_CODE_21,118,41,15,15
54 PUSHBUTTON "y",SCAN_CODE_22,137,41,15,15
55 PUSHBUTTON "u",SCAN_CODE_23,156,41,15,15
56 PUSHBUTTON "i",SCAN_CODE_24,175,41,15,15
57 PUSHBUTTON "o",SCAN_CODE_25,194,41,15,15
58 PUSHBUTTON "p",SCAN_CODE_26,213,41,15,15
59 PUSHBUTTON "[",SCAN_CODE_27,232,41,15,15
60 PUSHBUTTON "]",SCAN_CODE_28,251,41,15,15
61 PUSHBUTTON "lock",SCAN_CODE_30,3,60,46,15,BS_ICON
62 PUSHBUTTON "a",SCAN_CODE_31,53,60,15,15
63 PUSHBUTTON "s",SCAN_CODE_32,72,60,15,15
64 PUSHBUTTON "d",SCAN_CODE_33,91,60,15,15
65 PUSHBUTTON "f",SCAN_CODE_34,110,60,15,15
66 PUSHBUTTON "g",SCAN_CODE_35,129,60,15,15
67 PUSHBUTTON "h",SCAN_CODE_36,148,60,15,15
68 PUSHBUTTON "j",SCAN_CODE_37,167,60,15,15
69 PUSHBUTTON "k",SCAN_CODE_38,186,60,15,15
70 PUSHBUTTON "l",SCAN_CODE_39,205,60,15,15
71 PUSHBUTTON ";",SCAN_CODE_40,224,60,15,15
72 PUSHBUTTON "'",SCAN_CODE_41,243,60,15,15
73 PUSHBUTTON "\\",SCAN_CODE_29,270,41,48,15
74 PUSHBUTTON "ret",SCAN_CODE_43,262,60,56,15,BS_ICON
75 PUSHBUTTON "shift",SCAN_CODE_44,3,79,57,15,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
76 PUSHBUTTON "z",SCAN_CODE_46,64,79,15,15
77 PUSHBUTTON "x",SCAN_CODE_47,83,79,15,15
78 PUSHBUTTON "c",SCAN_CODE_48,102,79,15,15
79 PUSHBUTTON "v",SCAN_CODE_49,121,79,15,15
80 PUSHBUTTON "b",SCAN_CODE_50,140,79,15,15
81 PUSHBUTTON "n",SCAN_CODE_51,159,79,15,15
82 PUSHBUTTON "m",SCAN_CODE_52,178,79,15,15
83 PUSHBUTTON ",",SCAN_CODE_53,197,79,15,15
84 PUSHBUTTON ".",SCAN_CODE_54,216,79,15,15
85 PUSHBUTTON "/",SCAN_CODE_55,235,79,15,15
86 PUSHBUTTON "shift",SCAN_CODE_57,254,79,64,15,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
87 PUSHBUTTON "ctrl",SCAN_CODE_58,3,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
88 PUSHBUTTON "v",SCAN_CODE_84,343,98,15,15,BS_ICON
89 PUSHBUTTON "ROS",SCAN_CODE_127,30,98,24,15,BS_ICON
90 PUSHBUTTON "alt",SCAN_CODE_60,57,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
91 PUSHBUTTON "",SCAN_CODE_61,84,98,125,15 //space
92 PUSHBUTTON "alt",SCAN_CODE_62,213,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
93 PUSHBUTTON "ROS",SCAN_CODE_128,240,98,24,15,BS_ICON
94 PUSHBUTTON "menu",SCAN_CODE_129,267,98,24,15,BS_ICON
95 PUSHBUTTON "ctrl",SCAN_CODE_64,294,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
96 PUSHBUTTON "ins",SCAN_CODE_75,323,22,15,15
97 PUSHBUTTON "del",SCAN_CODE_76,323,41,15,15
98 PUSHBUTTON "hm",SCAN_CODE_80,343,22,15,15
99 PUSHBUTTON "end",SCAN_CODE_81,343,41,15,15
100 PUSHBUTTON "pup",SCAN_CODE_85,363,22,15,15
101 PUSHBUTTON "pdn",SCAN_CODE_86,363,41,15,15
102 PUSHBUTTON "<-",SCAN_CODE_79,323,98,15,15,BS_ICON
103 PUSHBUTTON "^",SCAN_CODE_83,343,79,15,15,BS_ICON
104 PUSHBUTTON "->",SCAN_CODE_89,363,98,15,15,BS_ICON
105 PUSHBUTTON "nlk",SCAN_CODE_90,383,22,15,15
106 PUSHBUTTON "7",SCAN_CODE_91,383,41,15,15
107 PUSHBUTTON "4",SCAN_CODE_92,383,60,15,15
108 PUSHBUTTON "1",SCAN_CODE_93,383,79,15,15
109 PUSHBUTTON "/",SCAN_CODE_95,403,22,15,15
110 PUSHBUTTON "8",SCAN_CODE_96,403,41,15,15
111 PUSHBUTTON "5",SCAN_CODE_97,403,60,15,15
112 PUSHBUTTON "2",SCAN_CODE_98,403,79,15,15
113 PUSHBUTTON "0",SCAN_CODE_99,383,98,34,15
114 PUSHBUTTON "*",SCAN_CODE_100,423,22,15,15
115 PUSHBUTTON "9",SCAN_CODE_101,423,41,15,15
116 PUSHBUTTON "6",SCAN_CODE_102,423,60,15,15
117 PUSHBUTTON "3",SCAN_CODE_103,423,79,15,15
118 PUSHBUTTON ".",SCAN_CODE_104,423,98,15,15
119 PUSHBUTTON "-",SCAN_CODE_105,443,22,15,15
120 PUSHBUTTON "+",SCAN_CODE_106,443,41,15,35
121 PUSHBUTTON "ent",SCAN_CODE_108,443,78,15,35
122 CTEXT "Num",IDC_STATIC,383,3,21,8
123 CONTROL "",IDC_LED_NUM,"Static",SS_CENTER|SS_NOTIFY,391,15,4,3
124 CTEXT "Caps",IDC_STATIC,408,3,21,8
125 CONTROL "",IDC_LED_CAPS,"Static",SS_CENTER|SS_NOTIFY,417,15,4,3
126 CTEXT "Scroll",IDC_STATIC,433,3,21,8
127 CONTROL "",IDC_LED_SCROLL,"Static",SS_CENTER|SS_NOTIFY,443,15,4,3
128 END
129
130 MAIN_DIALOG_STANDARD_KB DIALOGEX DISCARDABLE 0, 0, 362, 115
131 CAPTION "On screen keyboard"
132 FONT 8, "MS Shell Dlg"
133 MENU IDR_OSK_MENU
134 STYLE WS_SYSMENU | WS_MINIMIZEBOX
135 EXSTYLE WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_APPWINDOW
136 BEGIN
137 PUSHBUTTON "Esc",SCAN_CODE_110,3,3,15,15
138 PUSHBUTTON "F1",SCAN_CODE_112,43,3,15,15
139 PUSHBUTTON "F2",SCAN_CODE_113,63,3,15,15
140 PUSHBUTTON "F3",SCAN_CODE_114,83,3,15,15
141 PUSHBUTTON "F4",SCAN_CODE_115,103,3,15,15
142 PUSHBUTTON "F5",SCAN_CODE_116,123,3,15,15
143 PUSHBUTTON "F6",SCAN_CODE_117,143,3,15,15
144 PUSHBUTTON "F7",SCAN_CODE_118,183,3,15,15
145 PUSHBUTTON "F8",SCAN_CODE_119,203,3,15,15
146 PUSHBUTTON "F9",SCAN_CODE_120,223,3,15,15
147 PUSHBUTTON "F10",SCAN_CODE_121,243,3,15,15
148 PUSHBUTTON "F11",SCAN_CODE_122,263,3,15,15
149 PUSHBUTTON "F12",SCAN_CODE_123,283,3,15,15
150 PUSHBUTTON "Prn",SCAN_CODE_124,304,3,15,15
151 PUSHBUTTON "Stop",SCAN_CODE_125,324,3,15,15
152 PUSHBUTTON "Attn",SCAN_CODE_126,344,3,15,15
153 PUSHBUTTON "`",SCAN_CODE_1,3,22,15,15
154 PUSHBUTTON "1",SCAN_CODE_2,23,22,15,15
155 PUSHBUTTON "2",SCAN_CODE_3,43,22,15,15
156 PUSHBUTTON "3",SCAN_CODE_4,63,22,15,15
157 PUSHBUTTON "4",SCAN_CODE_5,83,22,15,15
158 PUSHBUTTON "5",SCAN_CODE_6,103,22,15,15
159 PUSHBUTTON "6",SCAN_CODE_7,123,22,15,15
160 PUSHBUTTON "7",SCAN_CODE_8,143,22,15,15
161 PUSHBUTTON "8",SCAN_CODE_9,163,22,15,15
162 PUSHBUTTON "9",SCAN_CODE_10,183,22,15,15
163 PUSHBUTTON "0",SCAN_CODE_11,203,22,15,15
164 PUSHBUTTON "-",SCAN_CODE_12,223,22,15,15
165 PUSHBUTTON "=",SCAN_CODE_13,243,22,15,15
166 PUSHBUTTON "<--",SCAN_CODE_15,263,22,36,15,BS_ICON
167 PUSHBUTTON "Tab",SCAN_CODE_16,3,41,35,15,BS_ICON
168 PUSHBUTTON "q",SCAN_CODE_17,42,41,15,15
169 PUSHBUTTON "w",SCAN_CODE_18,61,41,15,15
170 PUSHBUTTON "e",SCAN_CODE_19,80,41,15,15
171 PUSHBUTTON "r",SCAN_CODE_20,99,41,15,15
172 PUSHBUTTON "t",SCAN_CODE_21,118,41,15,15
173 PUSHBUTTON "y",SCAN_CODE_22,137,41,15,15
174 PUSHBUTTON "u",SCAN_CODE_23,156,41,15,15
175 PUSHBUTTON "i",SCAN_CODE_24,175,41,15,15
176 PUSHBUTTON "o",SCAN_CODE_25,194,41,15,15
177 PUSHBUTTON "p",SCAN_CODE_26,213,41,15,15
178 PUSHBUTTON "[",SCAN_CODE_27,232,41,15,15
179 PUSHBUTTON "]",SCAN_CODE_28,251,41,15,15
180 PUSHBUTTON "lock",SCAN_CODE_30,3,60,46,15,BS_ICON
181 PUSHBUTTON "a",SCAN_CODE_31,53,60,15,15
182 PUSHBUTTON "s",SCAN_CODE_32,72,60,15,15
183 PUSHBUTTON "d",SCAN_CODE_33,91,60,15,15
184 PUSHBUTTON "f",SCAN_CODE_34,110,60,15,15
185 PUSHBUTTON "g",SCAN_CODE_35,129,60,15,15
186 PUSHBUTTON "h",SCAN_CODE_36,148,60,15,15
187 PUSHBUTTON "j",SCAN_CODE_37,167,60,15,15
188 PUSHBUTTON "k",SCAN_CODE_38,186,60,15,15
189 PUSHBUTTON "l",SCAN_CODE_39,205,60,15,15
190 PUSHBUTTON ";",SCAN_CODE_40,224,60,15,15
191 PUSHBUTTON "'",SCAN_CODE_41,243,60,15,15
192 PUSHBUTTON "\\",SCAN_CODE_29,270,41,30,15
193 PUSHBUTTON "ret",SCAN_CODE_43,262,60,38,15,BS_ICON
194 PUSHBUTTON "shift",SCAN_CODE_44,3,79,57,15,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
195 PUSHBUTTON "z",SCAN_CODE_46,64,79,15,15
196 PUSHBUTTON "x",SCAN_CODE_47,83,79,15,15
197 PUSHBUTTON "c",SCAN_CODE_48,102,79,15,15
198 PUSHBUTTON "v",SCAN_CODE_49,121,79,15,15
199 PUSHBUTTON "b",SCAN_CODE_50,140,79,15,15
200 PUSHBUTTON "n",SCAN_CODE_51,159,79,15,15
201 PUSHBUTTON "m",SCAN_CODE_52,178,79,15,15
202 PUSHBUTTON ",",SCAN_CODE_53,197,79,15,15
203 PUSHBUTTON ".",SCAN_CODE_54,216,79,15,15
204 PUSHBUTTON "/",SCAN_CODE_55,235,79,15,15
205 PUSHBUTTON "shift",SCAN_CODE_57,254,79,45,15,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
206 PUSHBUTTON "ctrl",SCAN_CODE_58,3,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
207 PUSHBUTTON "v",SCAN_CODE_84,324,98,15,15,BS_ICON
208 PUSHBUTTON "ROS",SCAN_CODE_127,30,98,24,15,BS_ICON
209 PUSHBUTTON "alt",SCAN_CODE_60,57,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
210 PUSHBUTTON "",SCAN_CODE_61,84,98,106,15 //space
211 PUSHBUTTON "alt",SCAN_CODE_62,194,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
212 PUSHBUTTON "ROS",SCAN_CODE_128,221,98,24,15,BS_ICON
213 PUSHBUTTON "menu",SCAN_CODE_129,248,98,24,15,BS_ICON
214 PUSHBUTTON "ctrl",SCAN_CODE_64,275,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
215 PUSHBUTTON "ins",SCAN_CODE_75,304,22,15,15
216 PUSHBUTTON "del",SCAN_CODE_76,304,41,15,15
217 PUSHBUTTON "hm",SCAN_CODE_80,324,22,15,15
218 PUSHBUTTON "end",SCAN_CODE_81,324,41,15,15
219 PUSHBUTTON "pup",SCAN_CODE_85,344,22,15,15
220 PUSHBUTTON "pdn",SCAN_CODE_86,344,41,15,15
221 PUSHBUTTON "<-",SCAN_CODE_79,304,98,15,15,BS_ICON
222 PUSHBUTTON "^",SCAN_CODE_83,324,79,15,15,BS_ICON
223 PUSHBUTTON "->",SCAN_CODE_89,344,98,15,15,BS_ICON
224 PUSHBUTTON "nlk",SCAN_CODE_90,364,22,15,15
225 PUSHBUTTON "7",SCAN_CODE_91,364,41,15,15
226 PUSHBUTTON "4",SCAN_CODE_92,364,60,15,15
227 PUSHBUTTON "1",SCAN_CODE_93,364,79,15,15
228 PUSHBUTTON "/",SCAN_CODE_95,384,22,15,15
229 PUSHBUTTON "8",SCAN_CODE_96,384,41,15,15
230 PUSHBUTTON "5",SCAN_CODE_97,384,60,15,15
231 PUSHBUTTON "2",SCAN_CODE_98,384,79,15,15
232 PUSHBUTTON "0",SCAN_CODE_99,364,98,34,15
233 PUSHBUTTON "*",SCAN_CODE_100,404,22,15,15
234 PUSHBUTTON "9",SCAN_CODE_101,404,41,15,15
235 PUSHBUTTON "6",SCAN_CODE_102,404,60,15,15
236 PUSHBUTTON "3",SCAN_CODE_103,404,79,15,15
237 PUSHBUTTON ".",SCAN_CODE_104,404,98,15,15
238 PUSHBUTTON "-",SCAN_CODE_105,424,22,15,15
239 PUSHBUTTON "+",SCAN_CODE_106,424,41,15,35
240 PUSHBUTTON "ent",SCAN_CODE_108,424,78,15,35
241 CTEXT "Num",IDC_STATIC,364,3,21,8
242 CONTROL "",IDC_LED_NUM,"Static",SS_CENTER|SS_NOTIFY,372,15,4,3
243 CTEXT "Caps",IDC_STATIC,389,3,21,8
244 CONTROL "",IDC_LED_CAPS,"Static",SS_CENTER|SS_NOTIFY,398,15,4,3
245 CTEXT "Scroll",IDC_STATIC,414,3,21,8
246 CONTROL "",IDC_LED_SCROLL,"Static",SS_CENTER|SS_NOTIFY,424,15,4,3
247 END
248
249 IDR_OSK_MENU MENU DISCARDABLE
250 BEGIN
251 POPUP "File"
252 BEGIN
253 MENUITEM "&Exit", IDM_EXIT
254 END
255
256 POPUP "Keyboard"
257 BEGIN
258 MENUITEM "Enhanced Keyboard", IDM_ENHANCED_KB, CHECKED
259 MENUITEM "Standard Keyboard", IDM_STANDARD_KB
260 MENUITEM SEPARATOR
261 MENUITEM "Regular Layout", IDM_REG_LAYOUT, CHECKED, GRAYED
262 MENUITEM "Block Layout", IDM_BLOCK_LAYOUT, GRAYED
263 MENUITEM SEPARATOR
264 MENUITEM "101 keys", IDM_101_KEYS, CHECKED, GRAYED
265 MENUITEM "102 keys", IDM_102_KEYS, GRAYED
266 MENUITEM "106 keys", IDM_106_KEYS, GRAYED
267 END
268
269 POPUP "Settings"
270 BEGIN
271 MENUITEM "Always on Top", IDM_ON_TOP, CHECKED, GRAYED
272 MENUITEM SEPARATOR
273 MENUITEM "&Use Click Sound", IDM_CLICK_SOUND, GRAYED
274 MENUITEM SEPARATOR
275 MENUITEM "&Typing Mode...", IDM_TYPE_MODE, GRAYED
276 MENUITEM SEPARATOR
277 MENUITEM "&Font...", IDM_FONT, GRAYED
278 END
279
280 POPUP "Help"
281 BEGIN
282 MENUITEM "&Help Topics", IDM_HELP_TOPICS, GRAYED
283 MENUITEM SEPARATOR
284 MENUITEM "&About On-Screen Keyboard...", IDM_ABOUT
285 END
286 END
287
288 IDD_WARNINGDIALOG_OSK DIALOGEX 0, 0, 250, 97
289 STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
290 CAPTION "On-Screen Keyboard"
291 FONT 8, "MS Shell Dlg", 400, 0, 0x1
292 BEGIN
293 DEFPUSHBUTTON "OK", IDOK, 193, 76, 50, 14
294 ICON IDI_OSK, IDC_STATIC, 7, 17, 20, 20
295 LTEXT "On-Screen Keyboard provides a minimum level of functionality for mobility-impaired users. Mobility-impaired users will need a utility program with higher functionality for daily use.", IDC_STATIC, 36, 7, 207, 33
296 CONTROL "Do not show this message again", IDC_SHOWWARNINGCHECK, "Button",
297 BS_AUTOCHECKBOX | WS_TABSTOP, 43, 80, 137, 10
298 END
299
300 STRINGTABLE
301 BEGIN
302 STRING_OSK "On-Screen Keyboard"
303 STRING_AUTHORS "Copyright Denis Robert"
304 END
305
306 /* EOF */