Метод | Описание | |
---|---|---|
EnableHardwareKeyboard ( bool bEnable ) : bool |
The EnableHardwareKeyboard function is useful for applications in which a user can write on the touch screen. When the keyboard is disabled, a user can rest a hand on it without causing spurious keyboard input. Use the disable mode carefully. If an application hangs while the keyboard is disabled, the keyboard is not available to other applications.
|
|
GetKeyState ( WM nVirtKey ) : short |
Not sure if those are used in WP7
|
|
GetKeyboardStatus ( ) : KBDI_KEYBOARD | ||
IsKeyDown ( PhysicalKeys key ) : bool | ||
StartHook ( PhysicalKeys listenFor ) : void | ||
StopHook ( ) : void |
Метод | Описание | |
---|---|---|
IsLongHold ( PhysicalKeys key ) : bool | ||
KeyboardHook ( ) : System |
public static EnableHardwareKeyboard ( bool bEnable ) : bool | ||
bEnable | bool | [in] Boolean value that specifies whether to enable or disable the keyboard. Set it to TRUE to enable the keyboard or FALSE to disable it. |
Результат | bool |
public static GetKeyState ( WM nVirtKey ) : short | ||
nVirtKey | WM | |
Результат | short |
public static GetKeyboardStatus ( ) : KBDI_KEYBOARD | ||
Результат | KBDI_KEYBOARD |
public static IsKeyDown ( PhysicalKeys key ) : bool | ||
key | PhysicalKeys | |
Результат | bool |
public static StartHook ( PhysicalKeys listenFor ) : void | ||
listenFor | PhysicalKeys | |
Результат | void |