/* Name: keymancontrol Copyright: Copyright (C) SIL International. Documentation: Description: Create Date: 1 Aug 2006 Modified Date: 13 Oct 2014 Authors: mcdurdin Related Files: Dependencies: Bugs: Todo: Notes: History: 01 Aug 2006 - mcdurdin - Add KMC_REFRESH and KMC_INTERFACEHOTKEY wm_keyman_control messages 11 Dec 2009 - mcdurdin - I934 - x64 platfrom comms add KMC_SETFOCUSINFO 06 Apr 2010 - mcdurdin - I2271 - Select Keyboard tidy up 24 Oct 2013 - mcdurdin - I3933 - V9.0 - Keyman tray icon menu is not showing installed keyboards 07 Nov 2013 - mcdurdin - I3949 - V9.0 - Keyboard selection and notification needs consolidation 03 Aug 2014 - mcdurdin - I4326 - V9.0 - Switch-off hotkey not working, then keyboard hotkey stopped working (win 8.1 jeremy) [High] 13 Oct 2014 - mcdurdin - I4451 - V9.0 - Language hotkeys are not working */ #define KMC_REFRESH 4 #define KMC_INTERFACEHOTKEY 5 #define KMC_NOTIFYWELCOME 6 // 7.0.245.0 #define KMC_ONSCREENKEYBOARD 8 // 7.0.248.0 #define KMC_SETFOCUSINFO 9 // 7.1.270.0 #define KMC_GETLASTFOCUS 10 // 7.1.270.0 #define KMC_GETLASTACTIVE 11 #define KMC_KEYDOWN 16 // 8.0.291.0 #define KMC_KEYUP 17 // 8.0.291.0 #define KMC_PROFILECHANGED 18 // 9.0.426.0 // I3933 #define KMC_HINTRESPONSE 19 // 14.0 HIWORD(wParam) = ModalResult, lParam = hint enum #define KMC_WATCHDOG_FAKEFREEZE 20 // 19.0 - pause Keyman for 5 seconds for debug purposes to test stability #define KMC_WATCHDOG_KEYEVENT 21 // 19.0 - let the LowLevelHookWatchDog know that input has happened on another thread #define KMC_WATCHDOG_HOOK_REINSTALL 22 // 19.0 - tell master controller about hook reinstall events // KMC_WATCHDOG_HOOK_REINSTALL event types #define WHR_TIMING 0 // 19.0 - report on timing #define WHR_INIT_FAILURE 1 // 19.0 - hook failed to (re)install #define WHR_UNINIT_FAILURE 2 // 19.0 - hook failed to uninstall // Cross-architecture comms #define KMC_REGISTER_HOST_WINDOW_X64 23 #define KMC_REGISTER_HOST_WINDOW_ARM64 24 #define PC_UPDATE 0 // Tell Keyman to update its display of active keyboard #define PC_UPDATE_LANGUAGESWITCH 1 // Tell Keyman to update its display of active keyboard and then open language switch form #define PC_HOTKEYCHANGE 2 // Tell Keyman that a hotkey was pressed to switch keyboard #define RWM_KEYMAN_CONTROL "WM_KEYMAN_CONTROL" #define RWM_KEYMAN_CONTROL_W L"WM_KEYMAN_CONTROL" #define khLanguageSwitch 8