C# Class Keyboard, NewTOAPIA

显示文件 Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
CurrentKeyState ( int vKey ) : short

CurrentKeyState Returns the current physical state of a virtual key, independent of any message processing that is currently occuring.

KeyState ( int vKey ) : short
ToString ( ) : string

Private Methods

Method Description
Keyboard ( ) : System

Method Details

CurrentKeyState() public static method

CurrentKeyState Returns the current physical state of a virtual key, independent of any message processing that is currently occuring.
public static CurrentKeyState ( int vKey ) : short
vKey int one of the virtual key codes
return short

KeyState() public static method

public static KeyState ( int vKey ) : short
vKey int
return short

ToString() public method

public ToString ( ) : string
return string