BOOL WINAPI ImmSetHotKey(DWORD dwHotKeyID, UINT uModifiers, UINT uVKey,
HKL hKL)
Sets the value of the IME hot key. This function is called by control panel.
If successful, the return value is TRUE. Otherwise, it is FALSE.
Value | Meaning |
---|---|
MOD_ALT | ALT key. |
MOD_CONTROL | CTRL key. |
MOD_SHIFT | SHIFT key. |
MOD_LEFT | Use key on the left side of keyboard. |
MOD_RIGHT | Use key on the right side of keyboard. |
MOD_ON_KEYUP | Trigger hot key when hot key is released. |
MOD_IGNORE_ALL_MODIFIER | Ignore modifier keys. |
For a key that does not occur on both sides of the keyboard, uModifiers should specify both sides (MOD_LEFT | MODE_RIGHT).