|
|
// // Include Files. //
#include <windows.h> #include <winuser.h> #include <commctrl.h>
#include "resource.h"
// // Icons. //
IDI_ICON ICON DISCARDABLE "input.ico"
IDI_KEYBOARD ICON DISCARDABLE "kbd.ico" IDI_SPEECH ICON DISCARDABLE "mic.ico" IDI_PEN ICON DISCARDABLE "pen.ico" IDI_TIPITEM ICON DISCARDABLE "tipitem.ico" IDI_SMARTTAG ICON DISCARDABLE "smart.ico"
// // Dialogs. // DLG_INPUT_LOCALES DIALOG DISCARDABLE 0, 0, 252, 236 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION CAPTION "Settings" FONT 8, "MS Shell Dlg" BEGIN
GROUPBOX "Default input &language", IDC_GROUPBOX1, 7, 7, 238, 53 LTEXT "Select one of the installed input languages to use when you start your computer.", IDC_LOCALE_DEFAULT_TEXT, 14, 17, 230, 18 COMBOBOX IDC_LOCALE_DEFAULT, 14, 40, 224, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
GROUPBOX "&Installed services", IDC_GROUPBOX2, 7, 65, 238, 125 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.", IDC_INPUT_LIST_TEXT, 14, 75, 230, 18 CONTROL "TEXT", IDC_INPUT_LIST, "SysTreeView32", TVS_LINESATROOT | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP | WS_VSCROLL, 14, 98, 170, 85
PUSHBUTTON "&Set Default", IDC_KBDL_SET_DEFAULT, 190, 115, 50, 14 PUSHBUTTON "A&dd...", IDC_KBDL_ADD, 190, 133, 50, 14, WS_GROUP PUSHBUTTON "&Remove", IDC_KBDL_DELETE, 190, 151, 50, 14 PUSHBUTTON "&Properties...", IDC_KBDL_EDIT, 190, 169, 50, 14
GROUPBOX "Preferences", IDC_GROUPBOX3, 7, 195, 238, 34
PUSHBUTTON "Language &Bar...", IDC_TB_SETTING, 14, 208, 69, 14, WS_GROUP
PUSHBUTTON "&Key Settings...", IDC_HOTKEY_SETTING, 92, 208, 69, 14, WS_GROUP
LTEXT "Incompatible keyboard driver detected. This dialog has been disabled.", IDC_KBDL_DISABLED, 7, 221, 231, 9, NOT WS_VISIBLE | WS_DISABLED
LTEXT "Another instance of this property page detected, pane disabled.", IDC_KBDL_DISABLED_2, 7, 221, 231, 9, NOT WS_VISIBLE | WS_DISABLED END
#ifdef CIC_XPSP1 DLG_TOOLBAR_SETTING DIALOG DISCARDABLE 20, 20, 240, 118 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Language Bar Settings" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "", IDC_STATIC, 7, 7, 226, 85
AUTOCHECKBOX "Show the Language &bar on the desktop", IDC_TB_SHOWLANGBAR, 17, 17, 210, 10, WS_TABSTOP | WS_GROUP AUTOCHECKBOX "Show the Language bar as &transparent when inactive", IDC_TB_HIGHTRANS, 17, 32, 210, 10, WS_TABSTOP AUTOCHECKBOX "Show &additional Language bar icons in the Notification area", IDC_TB_EXTRAICON, 17, 47, 210, 10, WS_TABSTOP AUTOCHECKBOX "Show text &labels on the Language bar", IDC_TB_TEXTLABELS, 17, 62, 210, 10, WS_TABSTOP
AUTOCHECKBOX "Turn &off advanced text services", IDC_TB_DISABLETEXTSERVICE, 17, 77, 200, 10, WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 129, 99, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 182, 99, 50, 14 END #else DLG_INPUT_ADVANCED DIALOG DISCARDABLE 0, 0, 252, 236 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION CAPTION "Advanced" FONT 8, "MS Shell Dlg" BEGIN #if SHOW_CUAS_UI GROUPBOX "Compatibility Configuration", IDC_GROUPBOX1, 7, 7, 238, 56 AUTOCHECKBOX "&Extend support of advanced text services to all programs", IDC_ADVANCED_CUAS_ENABLE, 14, 19, 200, 10, WS_TABSTOP 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.", IDC_ADVANCED_CUAS_TEXT, 14, 32, 228, 24
GROUPBOX "System Configuration", IDC_GROUPBOX2, 7, 70, 238, 56 AUTOCHECKBOX "&Turn off advanced text services", IDC_ADVANCED_CTFMON_DISABLE, 14, 82, 200, 10, WS_TABSTOP 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.", IDC_ADVANCED_CTFMON_TEXT, 14, 95, 228, 24 #else GROUPBOX "System Configuration", IDC_GROUPBOX2, 7, 7, 238, 56 AUTOCHECKBOX "&Turn off advanced text services", IDC_ADVANCED_CTFMON_DISABLE, 14, 19, 200, 10, WS_TABSTOP 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.", IDC_ADVANCED_CTFMON_TEXT, 14, 32, 228, 24 #endif END
DLG_TOOLBAR_SETTING DIALOG DISCARDABLE 20, 20, 240, 105 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Language Bar Settings" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "", IDC_STATIC, 7, 7, 226, 72
AUTOCHECKBOX "Show the Language bar on the &desktop", IDC_TB_SHOWLANGBAR, 17, 17, 210, 10, WS_TABSTOP | WS_GROUP AUTOCHECKBOX "Show the Language bar as transparent when i&nactive", IDC_TB_HIGHTRANS, 17, 32, 210, 10, WS_TABSTOP AUTOCHECKBOX "Show &additional Language bar icons in the taskbar", IDC_TB_EXTRAICON, 17, 47, 210, 10, WS_TABSTOP AUTOCHECKBOX "Show t&ext labels on the Language bar", IDC_TB_TEXTLABELS, 17, 62, 210, 10, WS_TABSTOP
//AUTOCHECKBOX "Turn &off advanced text services", IDC_TB_DISABLETEXTSERVICE, 17, 77, 200, 10, // WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 129, 86, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 182, 86, 50, 14 END #endif
DLG_KEYBOARD_LOCALE_HOTKEY DIALOG DISCARDABLE 0, 0, 272, 163 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Advanced Key Settings" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "To turn off Caps Lock", IDC_KBDL_CAPSLOCK_FRAME, 7, 7, 258, 26 AUTORADIOBUTTON "Press the CAPS &LOCK key", IDC_KBDL_CAPSLOCK, 14, 17, 120, 11, WS_TABSTOP | WS_GROUP AUTORADIOBUTTON "Press the SHI&FT key", IDC_KBDL_SHIFTLOCK, 144, 17, 120, 11
GROUPBOX "Hot keys for input languages", IDC_KBDL_HOTKEY_FRAME, 7, 37, 258, 95
LTEXT "Action", IDC_KBDL_HOTKEY, 14, 47, 60, 9 RTEXT "&Key sequence", IDC_KBDL_HOTKEY_SEQUENCE, 177, 47, 79, 9 LISTBOX IDC_KBDL_HOTKEY_LIST, 14, 57, 244, 52, LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP PUSHBUTTON "&Change Key Sequence...", IDC_KBDL_CHANGE_HOTKEY, 152, 113, 106, 14, WS_GROUP
DEFPUSHBUTTON "OK", IDOK, 66, 140, 70, 14 PUSHBUTTON "Cancel", IDCANCEL, 146, 140, 70, 14
END
DLG_KEYBOARD_LOCALE_ADD DIALOG DISCARDABLE 20, 20, 257, 147 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Add Input Language" FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Input language:", IDC_KBDLA_LOCALE_TEXT, 7, 7, 61, 10 COMBOBOX IDC_KBDLA_LOCALE, 7, 17, 105, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
//LTEXT "&Keyboard layout/IME:", IDC_KBDLA_LAYOUT_TEXT, 37, 36, 110, 10 AUTOCHECKBOX "&Keyboard layout/IME:", IDC_KBDLA_LAYOUT_TEXT, 37, 36, 110, 10, WS_TABSTOP COMBOBOX IDC_KBDLA_LAYOUT, 49, 47, 200, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
//LTEXT "&Handwriting recognition:", IDC_PEN_TEXT, 37, 65, 110, 10 AUTOCHECKBOX "&Handwriting recognition:", IDC_PEN_TEXT, 37, 65, 110, 10, WS_TABSTOP COMBOBOX IDC_PEN_TIP, 49, 76, 200, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
//LTEXT "&Speech:", IDC_SPEECH_TEXT, 37, 94, 110, 10 AUTOCHECKBOX "&Speech:", IDC_SPEECH_TEXT, 37, 94, 110, 10, WS_TABSTOP COMBOBOX IDC_SPEECH_TIP, 49, 105, 200, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 146, 126, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 199, 126, 50, 14
END
DLG_KEYBOARD_LOCALE_ADD_EXTRA DIALOG DISCARDABLE 20, 20, 257, 176 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Add Input Language" FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Input language:", IDC_KBDLA_LOCALE_TEXT, 7, 7, 61, 10 COMBOBOX IDC_KBDLA_LOCALE, 7, 17, 105, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
//LTEXT "&Keyboard layout/IME:", IDC_KBDLA_LAYOUT_TEXT, 37, 36, 110, 10 AUTOCHECKBOX "&Keyboard layout/IME:", IDC_KBDLA_LAYOUT_TEXT, 37, 36, 110, 10, WS_TABSTOP COMBOBOX IDC_KBDLA_LAYOUT, 49, 47, 200, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
//LTEXT "&Handwriting recognition:", IDC_PEN_TEXT, 37, 65, 110, 10 AUTOCHECKBOX "&Handwriting recognition:", IDC_PEN_TEXT, 37, 65, 110, 10, WS_TABSTOP COMBOBOX IDC_PEN_TIP, 49, 76, 200, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
//LTEXT "&Speech:", IDC_SPEECH_TEXT, 37, 94, 110, 10 AUTOCHECKBOX "&Speech:", IDC_SPEECH_TEXT, 37, 94, 110, 10, WS_TABSTOP COMBOBOX IDC_SPEECH_TIP, 49, 105, 200, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
AUTOCHECKBOX "&More Text Services:", IDC_EXTERNAL_TEXT, 37, 123, 110, 10, WS_TABSTOP COMBOBOX IDC_EXTERNAL_TIP, 49, 134, 200, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 146, 155, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 199, 155, 50, 14
END
DLG_KEYBOARD_LOCALE_SIMPLE_ADD DIALOG DISCARDABLE 20, 20, 227, 90 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU #ifdef CIC_XPSP1 CAPTION "Add Input language" #else CAPTION "Add Input Language" #endif FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Input language:", IDC_STATIC, 7, 7, 61, 10 COMBOBOX IDC_KBDLA_LOCALE, 7, 17, 212, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "&Keyboard layout/IME:", IDC_STATIC, 7, 36, 110, 10 COMBOBOX IDC_KBDLA_LAYOUT, 7, 47, 212, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 116, 68, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 169, 68, 50, 14
END
DLG_KEYBOARD_LOCALE_EDIT DIALOG DISCARDABLE 20, 20, 227, 75 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Input language Properties" FONT 8, "MS Shell Dlg" BEGIN LTEXT "Input language:", IDC_KBDLE_LOCALE_TEXT, 7, 7, 61, 8 LTEXT "", IDC_KBDLE_LOCALE, 73, 7, 129, 8
LTEXT "&Keyboard layout/IME:", IDC_KBDLE_LAYOUT_TEXT, 7, 21, 110, 10 COMBOBOX IDC_KBDLE_LAYOUT, 7, 32, 212, 60, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 116, 53, 52, 14 PUSHBUTTON "Cancel", IDCANCEL, 169, 53, 52, 14 END
DLG_KEYBOARD_HOTKEY_INPUT_LOCALE DIALOG DISCARDABLE 5, 100, 285, 74 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Change Key Sequence" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "", IDC_STATIC, 9, 5, 209, 60 AUTOCHECKBOX "&Switch input languages", IDC_KBDLH_LANGHOTKEY, 15, 15, 90, 12, WS_TABSTOP LTEXT "SHIFT", IDC_KBDLH_SHIFT, 73, 37, 27, 12 CTEXT "+", IDC_KBDLH_PLUS, 62, 37, 8, 9
AUTORADIOBUTTON "&CTRL", IDC_KBDLH_CTRL, 29, 31, 30, 11, WS_TABSTOP | WS_GROUP AUTORADIOBUTTON "Left &ALT", IDC_KBDLH_L_ALT, 29,45,40,12
AUTOCHECKBOX "S&witch keyboard layouts", IDC_KBDLH_LAYOUTHOTKEY, 121, 15, 90, 12, WS_TABSTOP LTEXT "SHIFT", IDC_KBDLH_SHIFT2, 179, 37, 27, 12 CTEXT "+", IDC_KBDLH_PLUS2, 168, 37, 8, 9
AUTORADIOBUTTON "C&TRL", IDC_KBDLH_CTRL2, 135, 31, 30, 11, WS_TABSTOP | WS_GROUP AUTORADIOBUTTON "Left A<", IDC_KBDLH_L_ALT2, 135, 45, 40, 12,
DEFPUSHBUTTON "OK", IDOK, 227, 18, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 227,44,50,14 END
DLG_KEYBOARD_HOTKEY_INPUT_LOCALE_THAI DIALOG DISCARDABLE 5, 100, 249, 125 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Change Key Sequence" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "", IDC_STATIC, 9, 5, 174, 110 AUTOCHECKBOX "&Switch input languages", IDC_KBDLH_LANGHOTKEY, 15, 15, 90, 12, WS_TABSTOP LTEXT "SHIFT", IDC_KBDLH_SHIFT, 73, 37, 27, 12 CTEXT "+", IDC_KBDLH_PLUS, 62, 37, 8, 9 CONTROL "", IDC_KBDLH_VLINE, "Button", BS_OWNERDRAW, 96, 27, 13, 33
AUTORADIOBUTTON "&Grave Accent ( ` )", IDC_KBDLH_GRAVE, 110, 37, 69, 10, WS_TABSTOP | WS_GROUP AUTORADIOBUTTON "&CTRL", IDC_KBDLH_CTRL, 29, 31, 30, 11 AUTORADIOBUTTON "Left &ALT", IDC_KBDLH_L_ALT, 29, 45, 40, 12
AUTOCHECKBOX "S&witch keyboard layouts", IDC_KBDLH_LAYOUTHOTKEY, 15, 65, 90, 12, WS_TABSTOP LTEXT "SHIFT", IDC_KBDLH_SHIFT2, 73, 87, 27, 12 CTEXT "+", IDC_KBDLH_PLUS2, 62, 87, 8, 9
AUTORADIOBUTTON "C&TRL", IDC_KBDLH_CTRL2, 29, 81, 30, 11, WS_TABSTOP | WS_GROUP AUTORADIOBUTTON "Left A<", IDC_KBDLH_L_ALT2, 29,95,40,12
DEFPUSHBUTTON "OK", IDOK, 192, 25, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 192, 47, 50, 14 END
DLG_KEYBOARD_HOTKEY_INPUT_LOCALE_ME DIALOG DISCARDABLE 5, 100, 249, 125 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Change Key Sequence" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "", IDC_STATIC, 9, 5, 174, 110 AUTOCHECKBOX "&Switch input languages", IDC_KBDLH_LANGHOTKEY, 15, 15, 90, 12, WS_TABSTOP LTEXT "SHIFT", IDC_KBDLH_SHIFT, 73, 37, 27, 12 CTEXT "+", IDC_KBDLH_PLUS, 62, 37, 8, 9
AUTORADIOBUTTON "&CTRL", IDC_KBDLH_CTRL, 29, 31, 30, 11, WS_TABSTOP | WS_GROUP AUTORADIOBUTTON "Left &ALT", IDC_KBDLH_L_ALT, 29, 45, 40, 12
AUTOCHECKBOX "S&witch keyboard layouts", IDC_KBDLH_LAYOUTHOTKEY, 15, 65, 90, 12, WS_TABSTOP LTEXT "SHIFT", IDC_KBDLH_SHIFT2, 73, 87, 27, 12 CTEXT "+", IDC_KBDLH_PLUS2, 62, 87, 8, 9 CONTROL "", IDC_KBDLH_VLINE, "Button", BS_OWNERDRAW, 96, 77, 13, 33
AUTORADIOBUTTON "&Grave Accent ( ` )", IDC_KBDLH_GRAVE, 110, 87, 69, 10, WS_TABSTOP | WS_GROUP AUTORADIOBUTTON "C&TRL", IDC_KBDLH_CTRL2, 29, 81, 30, 11 AUTORADIOBUTTON "Left A<", IDC_KBDLH_L_ALT2, 29,95,40,12
DEFPUSHBUTTON "OK", IDOK, 192, 25, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 192, 47, 50, 14 END
DLG_KEYBOARD_HOTKEY_KEYBOARD_LAYOUT DIALOG DISCARDABLE 5, 100, 269, 78 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Change Key Sequence" FONT 8, "MS Shell Dlg" BEGIN LTEXT "", IDC_KBDLH_LAYOUT_TEXT, 16, 5, 250, 10 GROUPBOX "", IDC_STATIC, 12, 17, 184, 48 AUTOCHECKBOX "&Enable Key Sequence", IDC_KBDLH_LANGHOTKEY, 17, 17, 85, 8, WS_TABSTOP
CTEXT "SHIFT", IDC_KBDLH_SHIFT, 68, 37, 27, 12 CTEXT "+", IDC_STATIC, 57, 37, 8, 9 CTEXT "+", IDC_STATIC, 98, 37, 8, 10
AUTORADIOBUTTON "&CTRL", IDC_KBDLH_CTRL, 24, 31, 30, 11, WS_TABSTOP | WS_GROUP AUTORADIOBUTTON "Left &ALT", IDC_KBDLH_L_ALT, 24, 45, 40, 12
LTEXT "&Key:", IDC_STATIC, 110, 37, 14, 10 COMBOBOX IDC_KBDLH_KEY_COMBO, 127, 34, 46, 48, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 212, 25, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 212, 47, 50, 14 END
DLG_KEYBOARD_HOTKEY_IME DIALOG DISCARDABLE 5, 100, 269, 78 STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Change Key Sequence" FONT 8, "MS Shell Dlg" BEGIN LTEXT "", IDC_KBDLH_LAYOUT_TEXT, 16, 5, 250, 10 GROUPBOX "", IDC_STATIC, 12, 17, 184, 48 AUTOCHECKBOX "&Enable Key Sequence", IDC_KBDLH_LANGHOTKEY, 17, 17, 85, 8, WS_TABSTOP
CTEXT "SHIFT", IDC_KBDLH_SHIFT, 68, 37, 27, 12 CTEXT "+", IDC_STATIC, 57, 37, 8, 9 CTEXT "+", IDC_STATIC, 98, 37, 8, 10
CONTROL "&CTRL", IDC_KBDLH_CTRL, "Button", BS_CHECKBOX, 24, 31, 30, 11 CONTROL "&ALT", IDC_KBDLH_L_ALT, "Button", BS_CHECKBOX, 24, 45, 40, 12
LTEXT "&Key:", IDC_STATIC, 110, 37, 14, 10 COMBOBOX IDC_KBDLH_KEY_COMBO, 127, 34, 46, 48, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 212, 25, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 212, 47, 50, 14 END
// // String Tables. //
STRINGTABLE DISCARDABLE BEGIN IDS_NAME "Text Services and Input Languages" IDS_INFO "Customizes settings for text input of languages" END
STRINGTABLE DISCARDABLE BEGIN IDS_REBOOT_STRING "You must restart your computer before the new settings will take effect. \n\nDo you want to restart your computer now?" IDS_TITLE_STRING "Change Text Services" END
STRINGTABLE DISCARDABLE BEGIN 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." IDS_KBD_NO_DEF_LANG2 "Windows could not change the default input language." 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." IDS_KBD_LOAD_KBD_FAILED "Windows could not properly load the %s keyboard layout." 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." IDS_KBD_NEED_LAYOUT "You must specify at least one language and keyboard layout for Windows to use." 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." IDS_KBD_NO_MORE_TO_ADD "All available input language / layout combinations have been added. There are no remaining entries to be added." IDS_KBD_LAYOUT_FAILED "Unable to install the chosen layout. Please contact your system Administrator." IDS_KBD_CONFLICT_HOTKEY "Key sequence %s is already in use. Please select another one." IDS_KBD_INVALID_HOTKEY "Key sequence %s is not valid. Please select another one." IDS_UNKNOWN "(Unknown)" IDS_KBD_SWITCH_LOCALE "Switch between input languages" IDS_KBD_SWITCH_TO "Switch to %s" IDS_KBD_MOD_CONTROL "Ctrl+" IDS_KBD_MOD_LEFT_ALT "Left Alt+" IDS_KBD_MOD_SHIFT "Shift+" 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?" 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?"
IDS_RESEND_RESULTSTR_CHT, "Chinese (Traditional) IME - Resend result string" IDS_RESEND_RESULTSTR_CHT + 1, "Resend the previous result string to this application." IDS_PREVIOUS_COMPOS_CHT, "Chinese (Traditional) IME - Previous Composition" IDS_PREVIOUS_COMPOS_CHT + 1, "Bring up the previous string to the application." IDS_UISTYLE_TOGGLE_CHT, "Chinese (Traditional) IME - UI Style Toggle" IDS_UISTYLE_TOGGLE_CHT + 1, "Toggle the UI style between caret unrelated UI and the caret related UI." IDS_IME_NONIME_TOGGLE_CHT, "Chinese (Traditional) IME - Ime/NonIme Toggle" IDS_IME_NONIME_TOGGLE_CHT + 1, "Toggle between IME and non IME." IDS_SHAPE_TOGGLE_CHT, "Chinese (Traditional) IME - Shape Toggle" IDS_SHAPE_TOGGLE_CHT + 1, "Toggle the shape conversion mode of IME." IDS_SYMBOL_TOGGLE_CHT, "Chinese (Traditional) IME - Symbol Toggle" IDS_SYMBOL_TOGGLE_CHT + 1, "Toggle the symbol conversion mode of IME." IDS_IME_NONIME_TOGGLE_CHS, "Chinese (Simplified) IME - Ime/NonIme Toggle" IDS_IME_NONIME_TOGGLE_CHS + 1, "Toggle between IME and non IME." IDS_SHAPE_TOGGLE_CHS, "Chinese (Simplified) IME - Shape Toggle" IDS_SHAPE_TOGGLE_CHS + 1, "Toggle the shape conversion mode of IME." IDS_SYMBOL_TOGGLE_CHS, "Chinese (Simplified) IME - Symbol Toggle" IDS_SYMBOL_TOGGLE_CHS + 1, "Toggle the symbol conversion mode of IME." IDS_KBD_SET_HOTKEY_ERR "Failed to change key sequence for %s. Please check if the same key sequence is used for another item."
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." 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?" END
STRINGTABLE DISCARDABLE BEGIN IDS_LOCALE_LIST_ROOTNAME "Installed Input Methods" IDS_LOCALE_DEFAULT " - Default" IDS_LOCALE_UNKNOWN "Unknown Language" IDS_LOCALE_NOLAYOUT "None" END
STRINGTABLE DISCARDABLE BEGIN IDS_DELETE_CONFIRMTITLE "Confirmation" IDS_DELETE_LANGNODE "Are you sure you want to remove the below input language?\r\n\r\n\t%s" 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?" IDS_NODELETE_CATEGORYITEM "Windows could not remove %s because it is currently in use." END
STRINGTABLE DISCARDABLE BEGIN IDS_INPUT_KEYBOARD "Keyboard" IDS_INPUT_PEN "Handwriting Recognition" IDS_INPUT_SPEECH "Speech" IDS_INPUT_EXTERNAL "Advanced Text Services" END
#ifndef CIC_XPSP1 STRINGTABLE DISCARDABLE BEGIN 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." 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." END #endif
STRINGTABLE DISCARDABLE BEGIN IDS_VK_NONE, "(None)" IDS_VK_SPACE, "Space" IDS_VK_PRIOR, "Page_Up" IDS_VK_NEXT, "Page_Down" IDS_VK_END, "End" IDS_VK_HOME, "Home" IDS_VK_F1, "F1" IDS_VK_F2, "F2" IDS_VK_F3, "F3" IDS_VK_F4, "F4" IDS_VK_F5, "F5" IDS_VK_F6, "F6" IDS_VK_F7, "F7" IDS_VK_F8, "F8" IDS_VK_F9, "F9" IDS_VK_F10, "F10" IDS_VK_F11, "F11" IDS_VK_F12, "F12" IDS_VK_OEM_SEMICLN, "SEMICLN" IDS_VK_OEM_EQUAL, "EQUAL" IDS_VK_OEM_COMMA, "COMMA" IDS_VK_OEM_MINUS, "MINUS" IDS_VK_OEM_PERIOD, "PERIOD" IDS_VK_OEM_SLASH, "SLASH" IDS_VK_OEM_3, "'`'" IDS_VK_OEM_LBRACKET, "LBRACKET" IDS_VK_OEM_BSLASH, "BSLASH" IDS_VK_OEM_RBRACKET, "RBRACKET" IDS_VK_OEM_QUOTE, "QUOTE" IDS_VK_A + 0, "A" IDS_VK_A + 1, "B" IDS_VK_A + 2, "C" IDS_VK_A + 3, "D" IDS_VK_A + 4, "E" IDS_VK_A + 5, "F" IDS_VK_A + 6, "G" IDS_VK_A + 7, "H" IDS_VK_A + 8, "I" IDS_VK_A + 9, "J" IDS_VK_A + 10, "K" IDS_VK_A + 11, "L" IDS_VK_A + 12, "M" IDS_VK_A + 13, "N" IDS_VK_A + 14, "O" IDS_VK_A + 15, "P" IDS_VK_A + 16, "Q" IDS_VK_A + 17, "R" IDS_VK_A + 18, "S" IDS_VK_A + 19, "T" IDS_VK_A + 20, "U" IDS_VK_A + 21, "V" IDS_VK_A + 22, "W" IDS_VK_A + 23, "X" IDS_VK_A + 24, "Y" IDS_VK_A + 25, "Z" IDS_VK_NONE1, "(None)" IDS_VK_0 + 0, "0" IDS_VK_0 + 1, "1" IDS_VK_0 + 2, "2" IDS_VK_0 + 3, "3" IDS_VK_0 + 4, "4" IDS_VK_0 + 5, "5" IDS_VK_0 + 6, "6" IDS_VK_0 + 7, "7" IDS_VK_0 + 8, "8" IDS_VK_0 + 9, "9" IDS_VK_0 + 10, "~" IDS_VK_0 + 11, "Grave Accent" END
STRINGTABLE DISCARDABLE BEGIN KLT_0 "US" KLT_1 "Belgian (Period)" KLT_2 "Belgian French" KLT_3 "Portuguese (Brazilian ABNT)" KLT_4 "Canadian French" KLT_5 "Canadian French (Legacy)" KLT_7 "Danish" KLT_8 "Dutch" KLT_9 "Finnish" KLT_10 "French" KLT_11 "German" KLT_12 "German (IBM)" KLT_13 "Icelandic" KLT_14 "Irish" KLT_15 "Italian" KLT_16 "Italian (142)" KLT_17 "Latin American" KLT_18 "Norwegian" KLT_19 "Portuguese" KLT_20 "Spanish" KLT_21 "Spanish Variation" KLT_22 "Swedish" KLT_23 "Swiss French" KLT_24 "Swiss German" KLT_25 "United Kingdom" KLT_26 "United States-International" KLT_27 "United States-Dvorak for left hand" KLT_28 "United States-Dvorak for right hand" KLT_29 "Albanian" KLT_30 "Croatian" KLT_31 "Czech" KLT_32 "Czech (QWERTY)" KLT_33 "Hungarian" KLT_34 "Hungarian 101-key" KLT_35 "Polish (Programmers)" KLT_36 "Polish (214)" KLT_37 "Romanian" KLT_38 "Serbian (Latin)" KLT_39 "Slovak" KLT_40 "Slovak (QWERTY)" KLT_41 "Slovenian" KLT_42 "Estonian" KLT_43 "Latvian" KLT_44 "Latvian (QWERTY)" KLT_45 "Lithuanian IBM" KLT_46 "Greek" KLT_47 "Greek Latin" KLT_48 "Greek (220)" KLT_49 "Greek (319)" KLT_50 "Greek (220) Latin" KLT_51 "Greek (319) Latin" KLT_52 "Belarusian" KLT_53 "Bulgarian" KLT_54 "Bulgarian (Latin)" KLT_55 "Russian" KLT_56 "Russian (Typewriter)" KLT_57 "Serbian (Cyrillic)" KLT_58 "Ukrainian" KLT_59 "Turkish F" KLT_60 "Turkish Q" KLT_61 "Japanese" KLT_62 "Japanese Input System (MS-IME2002)" KLT_63 "Korean" KLT_64 "Korean Input System (MS-IME2002)" KLT_65 "Chinese (Traditional) - US Keyboard" KLT_66 "Chinese (Traditional) - Phonetic" KLT_67 "Chinese (Traditional) - ChangJie" KLT_68 "Chinese (Traditional) - Big5 Code" KLT_69 "Chinese (Traditional) - DaYi" KLT_70 "Chinese (Traditional) - Unicode" KLT_71 "Chinese (Traditional) - Alphanumeric" KLT_72 "Chinese (Simplified) - US Keyboard" KLT_73 "Chinese (Simplified) - QuanPin" KLT_74 "Chinese (Simplified) - ShuangPin" KLT_75 "Chinese (Simplified) - ZhengMa" ;KLT_76 "Chinese (Simplified) - Intelligent ABC" KLT_77 "Chinese (Simplified) - NeiMa" ;KLT_78 "Chinese (Simplified) - BiaoXingMa" KLT_79 "Thai Kedmanee" KLT_80 "Thai Pattachote" KLT_81 "Thai Kedmanee (non-ShiftLock)" KLT_82 "Thai Pattachote (non-ShiftLock)" KLT_83 "Hebrew" KLT_84 "Arabic (101)" KLT_85 "Arabic (102)" KLT_86 "Arabic (102) AZERTY" KLT_87 "Czech Programmers" KLT_88 "Lithuanian" KLT_89 "Belgian (Comma)" KLT_90 "Chinese (Traditional) - New Phonetic" KLT_91 "Chinese (Simplified) - Microsoft Pinyin IME 3.0" KLT_92 "United States-Dvorak" KLT_93 "Chinese (Traditional) - New ChangJie" KLT_94 "Assamese" KLT_95 "Bengali" KLT_96 "Devanagari - INSCRIPT" KLT_97 "Gujarati" KLT_98 "Kannada" KLT_99 "Malayalam" KLT_100 "Oriya" KLT_101 "Punjabi" KLT_102 "Tamil" KLT_103 "Telugu" KLT_104 "Marathi" KLT_105 "Hindi Traditional" ;KLT_106 "Konkani" KLT_107 "Cantonese Phonetic" KLT_108 "Faeroese" KLT_109 "FYRO Macedonian" KLT_110 "Canadian Multilingual Standard" KLT_111 "Chinese (Traditional) - Quick" KLT_112 "Chinese (Traditional) - Array" KLT_113 "Kazakh" KLT_114 "Uzbek Cyrillic" KLT_115 "Azeri Cyrillic" KLT_116 "Tatar" KLT_117 "Azeri Latin" KLT_118 "Vietnamese" KLT_119 "Georgian" KLT_120 "Armenian Eastern" KLT_121 "Armenian Western" KLT_122 "Greek Polytonic" KLT_123 "US English Table for IBM Arabic 238_L" KLT_124 "Farsi" KLT_125 "Gaelic" KLT_126 "Portuguese (Brazilian ABNT2)" KLT_127 "Mongolian Cyrillic" KLT_128 "Kyrgyz Cyrillic" KLT_129 "Urdu" KLT_130 "Syriac" KLT_131 "Syriac Phonetic" KLT_132 "Divehi Phonetic" KLT_133 "Divehi Typewriter" END
// // Version Info. //
#include <winver.h> #include <ntverp.h>
#define VER_FILETYPE VFT_DLL #define VER_FILESUBTYPE VFT_UNKNOWN #define VER_FILEDESCRIPTION_STR "Text Input DLL" #ifdef UNICODE #define VER_INTERNALNAME_STR "INPUT" #define VER_ORIGINALFILENAME_STR "INPUT.CPL" #else #define VER_INTERNALNAME_STR "INPUT98" #define VER_ORIGINALFILENAME_STR "INPUT98.CPL" #endif
#include <common.ver>
|