Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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. |
Résultat | bool |
public static GetKeyState ( WM nVirtKey ) : short | ||
nVirtKey | WM | |
Résultat | short |
public static GetKeyboardStatus ( ) : KBDI_KEYBOARD | ||
Résultat | KBDI_KEYBOARD |
public static IsKeyDown ( PhysicalKeys key ) : bool | ||
key | PhysicalKeys | |
Résultat | bool |
public static StartHook ( PhysicalKeys listenFor ) : void | ||
listenFor | PhysicalKeys | |
Résultat | void |