C# 클래스 CSharp___DllImport.Phone.KeyboardHook

파일 보기 프로젝트 열기: ApexHAB/apex-lumia

공개 메소드들

메소드 설명
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

메소드 상세

EnableHardwareKeyboard() 공개 정적인 메소드

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.
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

GetKeyState() 공개 정적인 메소드

Not sure if those are used in WP7
public static GetKeyState ( WM nVirtKey ) : short
nVirtKey WM
리턴 short

GetKeyboardStatus() 공개 정적인 메소드

public static GetKeyboardStatus ( ) : KBDI_KEYBOARD
리턴 KBDI_KEYBOARD

IsKeyDown() 공개 정적인 메소드

public static IsKeyDown ( PhysicalKeys key ) : bool
key PhysicalKeys
리턴 bool

StartHook() 공개 정적인 메소드

public static StartHook ( PhysicalKeys listenFor ) : void
listenFor PhysicalKeys
리턴 void

StopHook() 공개 정적인 메소드

public static StopHook ( ) : void
리턴 void