Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

766 lines
34 KiB

  1. //
  2. // Include Files.
  3. //
  4. #include <windows.h>
  5. #include <winuser.h>
  6. #include <commctrl.h>
  7. #include "resource.h"
  8. //
  9. // Icons.
  10. //
  11. IDI_ICON ICON DISCARDABLE "input.ico"
  12. IDI_KEYBOARD ICON DISCARDABLE "kbd.ico"
  13. IDI_SPEECH ICON DISCARDABLE "mic.ico"
  14. IDI_PEN ICON DISCARDABLE "pen.ico"
  15. IDI_TIPITEM ICON DISCARDABLE "tipitem.ico"
  16. IDI_SMARTTAG ICON DISCARDABLE "smart.ico"
  17. //
  18. // Dialogs.
  19. //
  20. DLG_INPUT_LOCALES DIALOG DISCARDABLE 0, 0, 252, 236
  21. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  22. WS_POPUP | WS_VISIBLE | WS_CAPTION
  23. CAPTION "Settings"
  24. FONT 8, "MS Shell Dlg"
  25. BEGIN
  26. GROUPBOX "Default input &language", IDC_GROUPBOX1,
  27. 7, 7, 238, 53
  28. LTEXT "Select one of the installed input languages to use when you start your computer.",
  29. IDC_LOCALE_DEFAULT_TEXT, 14, 17, 230, 18
  30. COMBOBOX IDC_LOCALE_DEFAULT, 14, 40, 224, 60,
  31. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  32. GROUPBOX "&Installed services",
  33. IDC_GROUPBOX2, 7, 65, 238, 125
  34. LTEXT "Select the services that you want for each input language shown in the list. Use the Add and Remove buttons to modify this list.",
  35. IDC_INPUT_LIST_TEXT, 14, 75, 230, 18
  36. CONTROL "TEXT", IDC_INPUT_LIST, "SysTreeView32",
  37. TVS_LINESATROOT | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS |
  38. WS_BORDER | WS_TABSTOP | WS_VSCROLL,
  39. 14, 98, 170, 85
  40. PUSHBUTTON "&Set Default", IDC_KBDL_SET_DEFAULT, 190, 115, 50, 14
  41. PUSHBUTTON "A&dd...", IDC_KBDL_ADD, 190, 133, 50, 14, WS_GROUP
  42. PUSHBUTTON "&Remove", IDC_KBDL_DELETE, 190, 151, 50, 14
  43. PUSHBUTTON "&Properties...", IDC_KBDL_EDIT, 190, 169, 50, 14
  44. GROUPBOX "Preferences", IDC_GROUPBOX3, 7, 195, 238, 34
  45. PUSHBUTTON "Language &Bar...", IDC_TB_SETTING,
  46. 14, 208, 69, 14, WS_GROUP
  47. PUSHBUTTON "&Key Settings...", IDC_HOTKEY_SETTING,
  48. 92, 208, 69, 14, WS_GROUP
  49. LTEXT "Incompatible keyboard driver detected. This dialog has been disabled.",
  50. IDC_KBDL_DISABLED, 7, 221, 231, 9,
  51. NOT WS_VISIBLE | WS_DISABLED
  52. LTEXT "Another instance of this property page detected, pane disabled.",
  53. IDC_KBDL_DISABLED_2, 7, 221, 231, 9,
  54. NOT WS_VISIBLE | WS_DISABLED
  55. END
  56. #ifdef CIC_XPSP1
  57. DLG_TOOLBAR_SETTING DIALOG DISCARDABLE 20, 20, 240, 118
  58. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  59. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  60. CAPTION "Language Bar Settings"
  61. FONT 8, "MS Shell Dlg"
  62. BEGIN
  63. GROUPBOX "", IDC_STATIC, 7, 7, 226, 85
  64. AUTOCHECKBOX "Show the Language &bar on the desktop", IDC_TB_SHOWLANGBAR, 17, 17, 210, 10,
  65. WS_TABSTOP | WS_GROUP
  66. AUTOCHECKBOX "Show the Language bar as &transparent when inactive", IDC_TB_HIGHTRANS, 17, 32, 210, 10,
  67. WS_TABSTOP
  68. AUTOCHECKBOX "Show &additional Language bar icons in the Notification area", IDC_TB_EXTRAICON, 17, 47, 210, 10,
  69. WS_TABSTOP
  70. AUTOCHECKBOX "Show text &labels on the Language bar", IDC_TB_TEXTLABELS, 17, 62, 210, 10,
  71. WS_TABSTOP
  72. AUTOCHECKBOX "Turn &off advanced text services", IDC_TB_DISABLETEXTSERVICE, 17, 77, 200, 10,
  73. WS_TABSTOP
  74. DEFPUSHBUTTON "OK", IDOK, 129, 99, 50, 14
  75. PUSHBUTTON "Cancel", IDCANCEL, 182, 99, 50, 14
  76. END
  77. #else
  78. DLG_INPUT_ADVANCED DIALOG DISCARDABLE 0, 0, 252, 236
  79. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  80. WS_POPUP | WS_VISIBLE | WS_CAPTION
  81. CAPTION "Advanced"
  82. FONT 8, "MS Shell Dlg"
  83. BEGIN
  84. #if SHOW_CUAS_UI
  85. GROUPBOX "Compatibility Configuration", IDC_GROUPBOX1,
  86. 7, 7, 238, 56
  87. AUTOCHECKBOX "&Extend support of advanced text services to all programs", IDC_ADVANCED_CUAS_ENABLE, 14, 19, 200, 10, WS_TABSTOP
  88. LTEXT "Select this check box to turn on advanced text services in Notepad and other programs that do not normally support speech and handwriting recognition or other advanced input services.",
  89. IDC_ADVANCED_CUAS_TEXT, 14, 32, 228, 24
  90. GROUPBOX "System Configuration", IDC_GROUPBOX2,
  91. 7, 70, 238, 56
  92. AUTOCHECKBOX "&Turn off advanced text services", IDC_ADVANCED_CTFMON_DISABLE, 14, 82, 200, 10, WS_TABSTOP
  93. LTEXT "Select this check box to turn off advanced text services in all programs. \rNot recommended for East Asian users because this closes the language bar.",
  94. IDC_ADVANCED_CTFMON_TEXT, 14, 95, 228, 24
  95. #else
  96. GROUPBOX "System Configuration", IDC_GROUPBOX2,
  97. 7, 7, 238, 56
  98. AUTOCHECKBOX "&Turn off advanced text services", IDC_ADVANCED_CTFMON_DISABLE, 14, 19, 200, 10, WS_TABSTOP
  99. LTEXT "Select this check box to turn off advanced text services in all programs. \rNot recommended for East Asian users because this closes the language bar.",
  100. IDC_ADVANCED_CTFMON_TEXT, 14, 32, 228, 24
  101. #endif
  102. END
  103. DLG_TOOLBAR_SETTING DIALOG DISCARDABLE 20, 20, 240, 105
  104. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  105. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  106. CAPTION "Language Bar Settings"
  107. FONT 8, "MS Shell Dlg"
  108. BEGIN
  109. GROUPBOX "", IDC_STATIC, 7, 7, 226, 72
  110. AUTOCHECKBOX "Show the Language bar on the &desktop", IDC_TB_SHOWLANGBAR, 17, 17, 210, 10,
  111. WS_TABSTOP | WS_GROUP
  112. AUTOCHECKBOX "Show the Language bar as transparent when i&nactive", IDC_TB_HIGHTRANS, 17, 32, 210, 10,
  113. WS_TABSTOP
  114. AUTOCHECKBOX "Show &additional Language bar icons in the taskbar", IDC_TB_EXTRAICON, 17, 47, 210, 10,
  115. WS_TABSTOP
  116. AUTOCHECKBOX "Show t&ext labels on the Language bar", IDC_TB_TEXTLABELS, 17, 62, 210, 10,
  117. WS_TABSTOP
  118. //AUTOCHECKBOX "Turn &off advanced text services", IDC_TB_DISABLETEXTSERVICE, 17, 77, 200, 10,
  119. // WS_TABSTOP
  120. DEFPUSHBUTTON "OK", IDOK, 129, 86, 50, 14
  121. PUSHBUTTON "Cancel", IDCANCEL, 182, 86, 50, 14
  122. END
  123. #endif
  124. DLG_KEYBOARD_LOCALE_HOTKEY DIALOG DISCARDABLE 0, 0, 272, 163
  125. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  126. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  127. CAPTION "Advanced Key Settings"
  128. FONT 8, "MS Shell Dlg"
  129. BEGIN
  130. GROUPBOX "To turn off Caps Lock", IDC_KBDL_CAPSLOCK_FRAME,
  131. 7, 7, 258, 26
  132. AUTORADIOBUTTON "Press the CAPS &LOCK key", IDC_KBDL_CAPSLOCK, 14, 17, 120, 11,
  133. WS_TABSTOP | WS_GROUP
  134. AUTORADIOBUTTON "Press the SHI&FT key", IDC_KBDL_SHIFTLOCK, 144, 17, 120, 11
  135. GROUPBOX "Hot keys for input languages", IDC_KBDL_HOTKEY_FRAME, 7, 37, 258, 95
  136. LTEXT "Action", IDC_KBDL_HOTKEY, 14, 47, 60, 9
  137. RTEXT "&Key sequence", IDC_KBDL_HOTKEY_SEQUENCE, 177, 47, 79, 9
  138. LISTBOX IDC_KBDL_HOTKEY_LIST, 14, 57, 244, 52,
  139. LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
  140. PUSHBUTTON "&Change Key Sequence...", IDC_KBDL_CHANGE_HOTKEY,
  141. 152, 113, 106, 14, WS_GROUP
  142. DEFPUSHBUTTON "OK", IDOK, 66, 140, 70, 14
  143. PUSHBUTTON "Cancel", IDCANCEL, 146, 140, 70, 14
  144. END
  145. DLG_KEYBOARD_LOCALE_ADD DIALOG DISCARDABLE 20, 20, 257, 147
  146. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  147. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  148. CAPTION "Add Input Language"
  149. FONT 8, "MS Shell Dlg"
  150. BEGIN
  151. LTEXT "&Input language:", IDC_KBDLA_LOCALE_TEXT, 7, 7, 61, 10
  152. COMBOBOX IDC_KBDLA_LOCALE, 7, 17, 105, 60,
  153. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  154. //LTEXT "&Keyboard layout/IME:", IDC_KBDLA_LAYOUT_TEXT, 37, 36, 110, 10
  155. AUTOCHECKBOX "&Keyboard layout/IME:", IDC_KBDLA_LAYOUT_TEXT, 37, 36, 110, 10, WS_TABSTOP
  156. COMBOBOX IDC_KBDLA_LAYOUT, 49, 47, 200, 60,
  157. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  158. //LTEXT "&Handwriting recognition:", IDC_PEN_TEXT, 37, 65, 110, 10
  159. AUTOCHECKBOX "&Handwriting recognition:", IDC_PEN_TEXT, 37, 65, 110, 10, WS_TABSTOP
  160. COMBOBOX IDC_PEN_TIP, 49, 76, 200, 60,
  161. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  162. //LTEXT "&Speech:", IDC_SPEECH_TEXT, 37, 94, 110, 10
  163. AUTOCHECKBOX "&Speech:", IDC_SPEECH_TEXT, 37, 94, 110, 10, WS_TABSTOP
  164. COMBOBOX IDC_SPEECH_TIP, 49, 105, 200, 60,
  165. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  166. DEFPUSHBUTTON "OK", IDOK, 146, 126, 50, 14
  167. PUSHBUTTON "Cancel", IDCANCEL, 199, 126, 50, 14
  168. END
  169. DLG_KEYBOARD_LOCALE_ADD_EXTRA DIALOG DISCARDABLE 20, 20, 257, 176
  170. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  171. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  172. CAPTION "Add Input Language"
  173. FONT 8, "MS Shell Dlg"
  174. BEGIN
  175. LTEXT "&Input language:", IDC_KBDLA_LOCALE_TEXT, 7, 7, 61, 10
  176. COMBOBOX IDC_KBDLA_LOCALE, 7, 17, 105, 60,
  177. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  178. //LTEXT "&Keyboard layout/IME:", IDC_KBDLA_LAYOUT_TEXT, 37, 36, 110, 10
  179. AUTOCHECKBOX "&Keyboard layout/IME:", IDC_KBDLA_LAYOUT_TEXT, 37, 36, 110, 10, WS_TABSTOP
  180. COMBOBOX IDC_KBDLA_LAYOUT, 49, 47, 200, 60,
  181. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  182. //LTEXT "&Handwriting recognition:", IDC_PEN_TEXT, 37, 65, 110, 10
  183. AUTOCHECKBOX "&Handwriting recognition:", IDC_PEN_TEXT, 37, 65, 110, 10, WS_TABSTOP
  184. COMBOBOX IDC_PEN_TIP, 49, 76, 200, 60,
  185. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  186. //LTEXT "&Speech:", IDC_SPEECH_TEXT, 37, 94, 110, 10
  187. AUTOCHECKBOX "&Speech:", IDC_SPEECH_TEXT, 37, 94, 110, 10, WS_TABSTOP
  188. COMBOBOX IDC_SPEECH_TIP, 49, 105, 200, 60,
  189. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  190. AUTOCHECKBOX "&More Text Services:", IDC_EXTERNAL_TEXT, 37, 123, 110, 10, WS_TABSTOP
  191. COMBOBOX IDC_EXTERNAL_TIP, 49, 134, 200, 60,
  192. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  193. DEFPUSHBUTTON "OK", IDOK, 146, 155, 50, 14
  194. PUSHBUTTON "Cancel", IDCANCEL, 199, 155, 50, 14
  195. END
  196. DLG_KEYBOARD_LOCALE_SIMPLE_ADD DIALOG DISCARDABLE 20, 20, 227, 90
  197. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  198. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  199. #ifdef CIC_XPSP1
  200. CAPTION "Add Input language"
  201. #else
  202. CAPTION "Add Input Language"
  203. #endif
  204. FONT 8, "MS Shell Dlg"
  205. BEGIN
  206. LTEXT "&Input language:", IDC_STATIC, 7, 7, 61, 10
  207. COMBOBOX IDC_KBDLA_LOCALE, 7, 17, 212, 60,
  208. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  209. LTEXT "&Keyboard layout/IME:", IDC_STATIC, 7, 36, 110, 10
  210. COMBOBOX IDC_KBDLA_LAYOUT, 7, 47, 212, 60,
  211. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  212. DEFPUSHBUTTON "OK", IDOK, 116, 68, 50, 14
  213. PUSHBUTTON "Cancel", IDCANCEL, 169, 68, 50, 14
  214. END
  215. DLG_KEYBOARD_LOCALE_EDIT DIALOG DISCARDABLE 20, 20, 227, 75
  216. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  217. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  218. CAPTION "Input language Properties"
  219. FONT 8, "MS Shell Dlg"
  220. BEGIN
  221. LTEXT "Input language:", IDC_KBDLE_LOCALE_TEXT, 7, 7, 61, 8
  222. LTEXT "", IDC_KBDLE_LOCALE, 73, 7, 129, 8
  223. LTEXT "&Keyboard layout/IME:", IDC_KBDLE_LAYOUT_TEXT, 7, 21, 110, 10
  224. COMBOBOX IDC_KBDLE_LAYOUT, 7, 32, 212, 60,
  225. CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  226. DEFPUSHBUTTON "OK", IDOK, 116, 53, 52, 14
  227. PUSHBUTTON "Cancel", IDCANCEL, 169, 53, 52, 14
  228. END
  229. DLG_KEYBOARD_HOTKEY_INPUT_LOCALE DIALOG DISCARDABLE 5, 100, 285, 74
  230. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  231. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  232. CAPTION "Change Key Sequence"
  233. FONT 8, "MS Shell Dlg"
  234. BEGIN
  235. GROUPBOX "", IDC_STATIC, 9, 5, 209, 60
  236. AUTOCHECKBOX "&Switch input languages", IDC_KBDLH_LANGHOTKEY, 15, 15, 90, 12,
  237. WS_TABSTOP
  238. LTEXT "SHIFT", IDC_KBDLH_SHIFT, 73, 37, 27, 12
  239. CTEXT "+", IDC_KBDLH_PLUS, 62, 37, 8, 9
  240. AUTORADIOBUTTON "&CTRL", IDC_KBDLH_CTRL, 29, 31, 30, 11,
  241. WS_TABSTOP | WS_GROUP
  242. AUTORADIOBUTTON "Left &ALT", IDC_KBDLH_L_ALT, 29,45,40,12
  243. AUTOCHECKBOX "S&witch keyboard layouts", IDC_KBDLH_LAYOUTHOTKEY, 121, 15, 90, 12,
  244. WS_TABSTOP
  245. LTEXT "SHIFT", IDC_KBDLH_SHIFT2, 179, 37, 27, 12
  246. CTEXT "+", IDC_KBDLH_PLUS2, 168, 37, 8, 9
  247. AUTORADIOBUTTON "C&TRL", IDC_KBDLH_CTRL2, 135, 31, 30, 11,
  248. WS_TABSTOP | WS_GROUP
  249. AUTORADIOBUTTON "Left A&LT", IDC_KBDLH_L_ALT2, 135, 45, 40, 12,
  250. DEFPUSHBUTTON "OK", IDOK, 227, 18, 50, 14
  251. PUSHBUTTON "Cancel", IDCANCEL, 227,44,50,14
  252. END
  253. DLG_KEYBOARD_HOTKEY_INPUT_LOCALE_THAI DIALOG DISCARDABLE 5, 100, 249, 125
  254. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  255. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  256. CAPTION "Change Key Sequence"
  257. FONT 8, "MS Shell Dlg"
  258. BEGIN
  259. GROUPBOX "", IDC_STATIC, 9, 5, 174, 110
  260. AUTOCHECKBOX "&Switch input languages", IDC_KBDLH_LANGHOTKEY, 15, 15, 90, 12,
  261. WS_TABSTOP
  262. LTEXT "SHIFT", IDC_KBDLH_SHIFT, 73, 37, 27, 12
  263. CTEXT "+", IDC_KBDLH_PLUS, 62, 37, 8, 9
  264. CONTROL "", IDC_KBDLH_VLINE, "Button", BS_OWNERDRAW, 96, 27, 13, 33
  265. AUTORADIOBUTTON "&Grave Accent ( ` )", IDC_KBDLH_GRAVE, 110, 37, 69, 10,
  266. WS_TABSTOP | WS_GROUP
  267. AUTORADIOBUTTON "&CTRL", IDC_KBDLH_CTRL, 29, 31, 30, 11
  268. AUTORADIOBUTTON "Left &ALT", IDC_KBDLH_L_ALT, 29, 45, 40, 12
  269. AUTOCHECKBOX "S&witch keyboard layouts", IDC_KBDLH_LAYOUTHOTKEY, 15, 65, 90, 12,
  270. WS_TABSTOP
  271. LTEXT "SHIFT", IDC_KBDLH_SHIFT2, 73, 87, 27, 12
  272. CTEXT "+", IDC_KBDLH_PLUS2, 62, 87, 8, 9
  273. AUTORADIOBUTTON "C&TRL", IDC_KBDLH_CTRL2, 29, 81, 30, 11,
  274. WS_TABSTOP | WS_GROUP
  275. AUTORADIOBUTTON "Left A&LT", IDC_KBDLH_L_ALT2, 29,95,40,12
  276. DEFPUSHBUTTON "OK", IDOK, 192, 25, 50, 14
  277. PUSHBUTTON "Cancel", IDCANCEL, 192, 47, 50, 14
  278. END
  279. DLG_KEYBOARD_HOTKEY_INPUT_LOCALE_ME DIALOG DISCARDABLE 5, 100, 249, 125
  280. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  281. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  282. CAPTION "Change Key Sequence"
  283. FONT 8, "MS Shell Dlg"
  284. BEGIN
  285. GROUPBOX "", IDC_STATIC, 9, 5, 174, 110
  286. AUTOCHECKBOX "&Switch input languages", IDC_KBDLH_LANGHOTKEY, 15, 15, 90, 12,
  287. WS_TABSTOP
  288. LTEXT "SHIFT", IDC_KBDLH_SHIFT, 73, 37, 27, 12
  289. CTEXT "+", IDC_KBDLH_PLUS, 62, 37, 8, 9
  290. AUTORADIOBUTTON "&CTRL", IDC_KBDLH_CTRL, 29, 31, 30, 11,
  291. WS_TABSTOP | WS_GROUP
  292. AUTORADIOBUTTON "Left &ALT", IDC_KBDLH_L_ALT, 29, 45, 40, 12
  293. AUTOCHECKBOX "S&witch keyboard layouts", IDC_KBDLH_LAYOUTHOTKEY, 15, 65, 90, 12,
  294. WS_TABSTOP
  295. LTEXT "SHIFT", IDC_KBDLH_SHIFT2, 73, 87, 27, 12
  296. CTEXT "+", IDC_KBDLH_PLUS2, 62, 87, 8, 9
  297. CONTROL "", IDC_KBDLH_VLINE, "Button", BS_OWNERDRAW, 96, 77, 13, 33
  298. AUTORADIOBUTTON "&Grave Accent ( ` )", IDC_KBDLH_GRAVE, 110, 87, 69, 10,
  299. WS_TABSTOP | WS_GROUP
  300. AUTORADIOBUTTON "C&TRL", IDC_KBDLH_CTRL2, 29, 81, 30, 11
  301. AUTORADIOBUTTON "Left A&LT", IDC_KBDLH_L_ALT2, 29,95,40,12
  302. DEFPUSHBUTTON "OK", IDOK, 192, 25, 50, 14
  303. PUSHBUTTON "Cancel", IDCANCEL, 192, 47, 50, 14
  304. END
  305. DLG_KEYBOARD_HOTKEY_KEYBOARD_LAYOUT DIALOG DISCARDABLE 5, 100, 269, 78
  306. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  307. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  308. CAPTION "Change Key Sequence"
  309. FONT 8, "MS Shell Dlg"
  310. BEGIN
  311. LTEXT "", IDC_KBDLH_LAYOUT_TEXT, 16, 5, 250, 10
  312. GROUPBOX "", IDC_STATIC, 12, 17, 184, 48
  313. AUTOCHECKBOX "&Enable Key Sequence", IDC_KBDLH_LANGHOTKEY, 17, 17, 85, 8,
  314. WS_TABSTOP
  315. CTEXT "SHIFT", IDC_KBDLH_SHIFT, 68, 37, 27, 12
  316. CTEXT "+", IDC_STATIC, 57, 37, 8, 9
  317. CTEXT "+", IDC_STATIC, 98, 37, 8, 10
  318. AUTORADIOBUTTON "&CTRL", IDC_KBDLH_CTRL, 24, 31, 30, 11,
  319. WS_TABSTOP | WS_GROUP
  320. AUTORADIOBUTTON "Left &ALT", IDC_KBDLH_L_ALT, 24, 45, 40, 12
  321. LTEXT "&Key:", IDC_STATIC, 110, 37, 14, 10
  322. COMBOBOX IDC_KBDLH_KEY_COMBO, 127, 34, 46, 48,
  323. CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  324. DEFPUSHBUTTON "OK", IDOK, 212, 25, 50, 14
  325. PUSHBUTTON "Cancel", IDCANCEL, 212, 47, 50, 14
  326. END
  327. DLG_KEYBOARD_HOTKEY_IME DIALOG DISCARDABLE 5, 100, 269, 78
  328. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP |
  329. WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  330. CAPTION "Change Key Sequence"
  331. FONT 8, "MS Shell Dlg"
  332. BEGIN
  333. LTEXT "", IDC_KBDLH_LAYOUT_TEXT, 16, 5, 250, 10
  334. GROUPBOX "", IDC_STATIC, 12, 17, 184, 48
  335. AUTOCHECKBOX "&Enable Key Sequence", IDC_KBDLH_LANGHOTKEY, 17, 17, 85, 8,
  336. WS_TABSTOP
  337. CTEXT "SHIFT", IDC_KBDLH_SHIFT, 68, 37, 27, 12
  338. CTEXT "+", IDC_STATIC, 57, 37, 8, 9
  339. CTEXT "+", IDC_STATIC, 98, 37, 8, 10
  340. CONTROL "&CTRL", IDC_KBDLH_CTRL, "Button",
  341. BS_CHECKBOX, 24, 31, 30, 11
  342. CONTROL "&ALT", IDC_KBDLH_L_ALT, "Button",
  343. BS_CHECKBOX, 24, 45, 40, 12
  344. LTEXT "&Key:", IDC_STATIC, 110, 37, 14, 10
  345. COMBOBOX IDC_KBDLH_KEY_COMBO, 127, 34, 46, 48,
  346. CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  347. DEFPUSHBUTTON "OK", IDOK, 212, 25, 50, 14
  348. PUSHBUTTON "Cancel", IDCANCEL, 212, 47, 50, 14
  349. END
  350. //
  351. // String Tables.
  352. //
  353. STRINGTABLE DISCARDABLE
  354. BEGIN
  355. IDS_NAME "Text Services and Input Languages"
  356. IDS_INFO "Customizes settings for text input of languages"
  357. END
  358. STRINGTABLE DISCARDABLE
  359. BEGIN
  360. IDS_REBOOT_STRING "You must restart your computer before the new settings will take effect. \n\nDo you want to restart your computer now?"
  361. IDS_TITLE_STRING "Change Text Services"
  362. END
  363. STRINGTABLE DISCARDABLE
  364. BEGIN
  365. IDS_KBD_NO_DEF_LANG "You may not remove the default input language. Use the General property page in the Regional Options applet if you wish to change your default locale."
  366. IDS_KBD_NO_DEF_LANG2 "Windows could not change the default input language."
  367. IDS_KBD_SETUP_FAILED "Windows setup could not copy the appropriate files. Make sure you have the correct path name for the keyboard layout files."
  368. IDS_KBD_LOAD_KBD_FAILED "Windows could not properly load the %s keyboard layout."
  369. IDS_KBD_UNLOAD_KBD_FAILED "Windows could not remove %s because it is currently in use. It will be removed next time you either reboot or logoff and logon."
  370. IDS_KBD_NEED_LAYOUT "You must specify at least one language and keyboard layout for Windows to use."
  371. IDS_KBD_LOAD_LINE_BAD "Although the language indicator now appears on the taskbar, it will not appear the next time you start Windows. When you restart Windows, try changing this setting again."
  372. IDS_KBD_NO_MORE_TO_ADD "All available input language / layout combinations have been added. There are no remaining entries to be added."
  373. IDS_KBD_LAYOUT_FAILED "Unable to install the chosen layout. Please contact your system Administrator."
  374. IDS_KBD_CONFLICT_HOTKEY "Key sequence %s is already in use. Please select another one."
  375. IDS_KBD_INVALID_HOTKEY "Key sequence %s is not valid. Please select another one."
  376. IDS_UNKNOWN "(Unknown)"
  377. IDS_KBD_SWITCH_LOCALE "Switch between input languages"
  378. IDS_KBD_SWITCH_TO "Switch to %s"
  379. IDS_KBD_MOD_CONTROL "Ctrl+"
  380. IDS_KBD_MOD_LEFT_ALT "Left Alt+"
  381. IDS_KBD_MOD_SHIFT "Shift+"
  382. IDS_KBD_LAYOUTEDIT "You already have a installed keyboard layout for this language.\r\n\r\nDo you want to replace it with new %s layout?"
  383. IDS_KBD_APPLY_WARN "Unable to change one of the key settings until the keyboard layout changes are applied. \n\nDo you want to apply the keyboard layout changes now?"
  384. IDS_RESEND_RESULTSTR_CHT, "Chinese (Traditional) IME - Resend result string"
  385. IDS_RESEND_RESULTSTR_CHT + 1, "Resend the previous result string to this application."
  386. IDS_PREVIOUS_COMPOS_CHT, "Chinese (Traditional) IME - Previous Composition"
  387. IDS_PREVIOUS_COMPOS_CHT + 1, "Bring up the previous string to the application."
  388. IDS_UISTYLE_TOGGLE_CHT, "Chinese (Traditional) IME - UI Style Toggle"
  389. IDS_UISTYLE_TOGGLE_CHT + 1, "Toggle the UI style between caret unrelated UI and the caret related UI."
  390. IDS_IME_NONIME_TOGGLE_CHT, "Chinese (Traditional) IME - Ime/NonIme Toggle"
  391. IDS_IME_NONIME_TOGGLE_CHT + 1, "Toggle between IME and non IME."
  392. IDS_SHAPE_TOGGLE_CHT, "Chinese (Traditional) IME - Shape Toggle"
  393. IDS_SHAPE_TOGGLE_CHT + 1, "Toggle the shape conversion mode of IME."
  394. IDS_SYMBOL_TOGGLE_CHT, "Chinese (Traditional) IME - Symbol Toggle"
  395. IDS_SYMBOL_TOGGLE_CHT + 1, "Toggle the symbol conversion mode of IME."
  396. IDS_IME_NONIME_TOGGLE_CHS, "Chinese (Simplified) IME - Ime/NonIme Toggle"
  397. IDS_IME_NONIME_TOGGLE_CHS + 1, "Toggle between IME and non IME."
  398. IDS_SHAPE_TOGGLE_CHS, "Chinese (Simplified) IME - Shape Toggle"
  399. IDS_SHAPE_TOGGLE_CHS + 1, "Toggle the shape conversion mode of IME."
  400. IDS_SYMBOL_TOGGLE_CHS, "Chinese (Simplified) IME - Symbol Toggle"
  401. IDS_SYMBOL_TOGGLE_CHS + 1, "Toggle the symbol conversion mode of IME."
  402. IDS_KBD_SET_HOTKEY_ERR "Failed to change key sequence for %s. Please check if the same key sequence is used for another item."
  403. IDS_ENABLE_CICERO "Advanced text services have been turned on. To use these services, you might need to restart your programs that are already running."
  404. IDS_DISABLE_CICERO "You have chosen to turn off advanced text services. After you turn off these services, your programs cannot use them. \r\n\r\nDo you want to turn off advanced text services?"
  405. END
  406. STRINGTABLE DISCARDABLE
  407. BEGIN
  408. IDS_LOCALE_LIST_ROOTNAME "Installed Input Methods"
  409. IDS_LOCALE_DEFAULT " - Default"
  410. IDS_LOCALE_UNKNOWN "Unknown Language"
  411. IDS_LOCALE_NOLAYOUT "None"
  412. END
  413. STRINGTABLE DISCARDABLE
  414. BEGIN
  415. IDS_DELETE_CONFIRMTITLE "Confirmation"
  416. IDS_DELETE_LANGNODE "Are you sure you want to remove the below input language?\r\n\r\n\t%s"
  417. IDS_DELETE_TIP "You have another TIP items that use the same substitute keyboard layout.\r\n %s \r\n\r\nDo you want to delete all or not?"
  418. IDS_NODELETE_CATEGORYITEM "Windows could not remove %s because it is currently in use."
  419. END
  420. STRINGTABLE DISCARDABLE
  421. BEGIN
  422. IDS_INPUT_KEYBOARD "Keyboard"
  423. IDS_INPUT_PEN "Handwriting Recognition"
  424. IDS_INPUT_SPEECH "Speech"
  425. IDS_INPUT_EXTERNAL "Advanced Text Services"
  426. END
  427. #ifndef CIC_XPSP1
  428. STRINGTABLE DISCARDABLE
  429. BEGIN
  430. IDS_ADVANCED_CUAS_TEXT "Select this check box to turn on advanced text services in Notepad and other programs that do not normally support speech and handwriting recognition or other advanced input services."
  431. IDS_ADVANCED_CTFMON_TEXT "Select this check box to turn off advanced text services in all programs. \rNot recommended for East Asian users because this closes the language bar."
  432. END
  433. #endif
  434. STRINGTABLE DISCARDABLE
  435. BEGIN
  436. IDS_VK_NONE, "(None)"
  437. IDS_VK_SPACE, "Space"
  438. IDS_VK_PRIOR, "Page_Up"
  439. IDS_VK_NEXT, "Page_Down"
  440. IDS_VK_END, "End"
  441. IDS_VK_HOME, "Home"
  442. IDS_VK_F1, "F1"
  443. IDS_VK_F2, "F2"
  444. IDS_VK_F3, "F3"
  445. IDS_VK_F4, "F4"
  446. IDS_VK_F5, "F5"
  447. IDS_VK_F6, "F6"
  448. IDS_VK_F7, "F7"
  449. IDS_VK_F8, "F8"
  450. IDS_VK_F9, "F9"
  451. IDS_VK_F10, "F10"
  452. IDS_VK_F11, "F11"
  453. IDS_VK_F12, "F12"
  454. IDS_VK_OEM_SEMICLN, "SEMICLN"
  455. IDS_VK_OEM_EQUAL, "EQUAL"
  456. IDS_VK_OEM_COMMA, "COMMA"
  457. IDS_VK_OEM_MINUS, "MINUS"
  458. IDS_VK_OEM_PERIOD, "PERIOD"
  459. IDS_VK_OEM_SLASH, "SLASH"
  460. IDS_VK_OEM_3, "'`'"
  461. IDS_VK_OEM_LBRACKET, "LBRACKET"
  462. IDS_VK_OEM_BSLASH, "BSLASH"
  463. IDS_VK_OEM_RBRACKET, "RBRACKET"
  464. IDS_VK_OEM_QUOTE, "QUOTE"
  465. IDS_VK_A + 0, "A"
  466. IDS_VK_A + 1, "B"
  467. IDS_VK_A + 2, "C"
  468. IDS_VK_A + 3, "D"
  469. IDS_VK_A + 4, "E"
  470. IDS_VK_A + 5, "F"
  471. IDS_VK_A + 6, "G"
  472. IDS_VK_A + 7, "H"
  473. IDS_VK_A + 8, "I"
  474. IDS_VK_A + 9, "J"
  475. IDS_VK_A + 10, "K"
  476. IDS_VK_A + 11, "L"
  477. IDS_VK_A + 12, "M"
  478. IDS_VK_A + 13, "N"
  479. IDS_VK_A + 14, "O"
  480. IDS_VK_A + 15, "P"
  481. IDS_VK_A + 16, "Q"
  482. IDS_VK_A + 17, "R"
  483. IDS_VK_A + 18, "S"
  484. IDS_VK_A + 19, "T"
  485. IDS_VK_A + 20, "U"
  486. IDS_VK_A + 21, "V"
  487. IDS_VK_A + 22, "W"
  488. IDS_VK_A + 23, "X"
  489. IDS_VK_A + 24, "Y"
  490. IDS_VK_A + 25, "Z"
  491. IDS_VK_NONE1, "(None)"
  492. IDS_VK_0 + 0, "0"
  493. IDS_VK_0 + 1, "1"
  494. IDS_VK_0 + 2, "2"
  495. IDS_VK_0 + 3, "3"
  496. IDS_VK_0 + 4, "4"
  497. IDS_VK_0 + 5, "5"
  498. IDS_VK_0 + 6, "6"
  499. IDS_VK_0 + 7, "7"
  500. IDS_VK_0 + 8, "8"
  501. IDS_VK_0 + 9, "9"
  502. IDS_VK_0 + 10, "~"
  503. IDS_VK_0 + 11, "Grave Accent"
  504. END
  505. STRINGTABLE DISCARDABLE
  506. BEGIN
  507. KLT_0 "US"
  508. KLT_1 "Belgian (Period)"
  509. KLT_2 "Belgian French"
  510. KLT_3 "Portuguese (Brazilian ABNT)"
  511. KLT_4 "Canadian French"
  512. KLT_5 "Canadian French (Legacy)"
  513. KLT_7 "Danish"
  514. KLT_8 "Dutch"
  515. KLT_9 "Finnish"
  516. KLT_10 "French"
  517. KLT_11 "German"
  518. KLT_12 "German (IBM)"
  519. KLT_13 "Icelandic"
  520. KLT_14 "Irish"
  521. KLT_15 "Italian"
  522. KLT_16 "Italian (142)"
  523. KLT_17 "Latin American"
  524. KLT_18 "Norwegian"
  525. KLT_19 "Portuguese"
  526. KLT_20 "Spanish"
  527. KLT_21 "Spanish Variation"
  528. KLT_22 "Swedish"
  529. KLT_23 "Swiss French"
  530. KLT_24 "Swiss German"
  531. KLT_25 "United Kingdom"
  532. KLT_26 "United States-International"
  533. KLT_27 "United States-Dvorak for left hand"
  534. KLT_28 "United States-Dvorak for right hand"
  535. KLT_29 "Albanian"
  536. KLT_30 "Croatian"
  537. KLT_31 "Czech"
  538. KLT_32 "Czech (QWERTY)"
  539. KLT_33 "Hungarian"
  540. KLT_34 "Hungarian 101-key"
  541. KLT_35 "Polish (Programmers)"
  542. KLT_36 "Polish (214)"
  543. KLT_37 "Romanian"
  544. KLT_38 "Serbian (Latin)"
  545. KLT_39 "Slovak"
  546. KLT_40 "Slovak (QWERTY)"
  547. KLT_41 "Slovenian"
  548. KLT_42 "Estonian"
  549. KLT_43 "Latvian"
  550. KLT_44 "Latvian (QWERTY)"
  551. KLT_45 "Lithuanian IBM"
  552. KLT_46 "Greek"
  553. KLT_47 "Greek Latin"
  554. KLT_48 "Greek (220)"
  555. KLT_49 "Greek (319)"
  556. KLT_50 "Greek (220) Latin"
  557. KLT_51 "Greek (319) Latin"
  558. KLT_52 "Belarusian"
  559. KLT_53 "Bulgarian"
  560. KLT_54 "Bulgarian (Latin)"
  561. KLT_55 "Russian"
  562. KLT_56 "Russian (Typewriter)"
  563. KLT_57 "Serbian (Cyrillic)"
  564. KLT_58 "Ukrainian"
  565. KLT_59 "Turkish F"
  566. KLT_60 "Turkish Q"
  567. KLT_61 "Japanese"
  568. KLT_62 "Japanese Input System (MS-IME2002)"
  569. KLT_63 "Korean"
  570. KLT_64 "Korean Input System (MS-IME2002)"
  571. KLT_65 "Chinese (Traditional) - US Keyboard"
  572. KLT_66 "Chinese (Traditional) - Phonetic"
  573. KLT_67 "Chinese (Traditional) - ChangJie"
  574. KLT_68 "Chinese (Traditional) - Big5 Code"
  575. KLT_69 "Chinese (Traditional) - DaYi"
  576. KLT_70 "Chinese (Traditional) - Unicode"
  577. KLT_71 "Chinese (Traditional) - Alphanumeric"
  578. KLT_72 "Chinese (Simplified) - US Keyboard"
  579. KLT_73 "Chinese (Simplified) - QuanPin"
  580. KLT_74 "Chinese (Simplified) - ShuangPin"
  581. KLT_75 "Chinese (Simplified) - ZhengMa"
  582. ;KLT_76 "Chinese (Simplified) - Intelligent ABC"
  583. KLT_77 "Chinese (Simplified) - NeiMa"
  584. ;KLT_78 "Chinese (Simplified) - BiaoXingMa"
  585. KLT_79 "Thai Kedmanee"
  586. KLT_80 "Thai Pattachote"
  587. KLT_81 "Thai Kedmanee (non-ShiftLock)"
  588. KLT_82 "Thai Pattachote (non-ShiftLock)"
  589. KLT_83 "Hebrew"
  590. KLT_84 "Arabic (101)"
  591. KLT_85 "Arabic (102)"
  592. KLT_86 "Arabic (102) AZERTY"
  593. KLT_87 "Czech Programmers"
  594. KLT_88 "Lithuanian"
  595. KLT_89 "Belgian (Comma)"
  596. KLT_90 "Chinese (Traditional) - New Phonetic"
  597. KLT_91 "Chinese (Simplified) - Microsoft Pinyin IME 3.0"
  598. KLT_92 "United States-Dvorak"
  599. KLT_93 "Chinese (Traditional) - New ChangJie"
  600. KLT_94 "Assamese"
  601. KLT_95 "Bengali"
  602. KLT_96 "Devanagari - INSCRIPT"
  603. KLT_97 "Gujarati"
  604. KLT_98 "Kannada"
  605. KLT_99 "Malayalam"
  606. KLT_100 "Oriya"
  607. KLT_101 "Punjabi"
  608. KLT_102 "Tamil"
  609. KLT_103 "Telugu"
  610. KLT_104 "Marathi"
  611. KLT_105 "Hindi Traditional"
  612. ;KLT_106 "Konkani"
  613. KLT_107 "Cantonese Phonetic"
  614. KLT_108 "Faeroese"
  615. KLT_109 "FYRO Macedonian"
  616. KLT_110 "Canadian Multilingual Standard"
  617. KLT_111 "Chinese (Traditional) - Quick"
  618. KLT_112 "Chinese (Traditional) - Array"
  619. KLT_113 "Kazakh"
  620. KLT_114 "Uzbek Cyrillic"
  621. KLT_115 "Azeri Cyrillic"
  622. KLT_116 "Tatar"
  623. KLT_117 "Azeri Latin"
  624. KLT_118 "Vietnamese"
  625. KLT_119 "Georgian"
  626. KLT_120 "Armenian Eastern"
  627. KLT_121 "Armenian Western"
  628. KLT_122 "Greek Polytonic"
  629. KLT_123 "US English Table for IBM Arabic 238_L"
  630. KLT_124 "Farsi"
  631. KLT_125 "Gaelic"
  632. KLT_126 "Portuguese (Brazilian ABNT2)"
  633. KLT_127 "Mongolian Cyrillic"
  634. KLT_128 "Kyrgyz Cyrillic"
  635. KLT_129 "Urdu"
  636. KLT_130 "Syriac"
  637. KLT_131 "Syriac Phonetic"
  638. KLT_132 "Divehi Phonetic"
  639. KLT_133 "Divehi Typewriter"
  640. END
  641. //
  642. // Version Info.
  643. //
  644. #include <winver.h>
  645. #include <ntverp.h>
  646. #define VER_FILETYPE VFT_DLL
  647. #define VER_FILESUBTYPE VFT_UNKNOWN
  648. #define VER_FILEDESCRIPTION_STR "Text Input DLL"
  649. #ifdef UNICODE
  650. #define VER_INTERNALNAME_STR "INPUT"
  651. #define VER_ORIGINALFILENAME_STR "INPUT.CPL"
  652. #else
  653. #define VER_INTERNALNAME_STR "INPUT98"
  654. #define VER_ORIGINALFILENAME_STR "INPUT98.CPL"
  655. #endif
  656. #include <common.ver>