C# Class Binarysharp.MemoryManagement.Windows.Keyboard.MessageKeyboard

Class defining a virtual keyboard using the API Message.
Inheritance: BaseKeyboard
Show file Open project: ZenLulz/MemorySharp

Public Methods

Method Description
MessageKeyboard ( RemoteWindow window ) : System
Press ( Keys key ) : void

Presses the specified virtual key to the window.

Release ( Keys key ) : void

Releases the specified virtual key to the window.

Write ( char character ) : void

Writes the specified character to the window.

Private Methods

Method Description
MakeKeyParameter ( Keys key, bool keyUp ) : UIntPtr

Makes the lParam for a key depending on several settings.

MakeKeyParameter ( Keys key, bool keyUp, bool fRepeat, uint cRepeat, bool altDown, bool fExtended ) : UIntPtr

Makes the lParam for a key depending on several settings.

KeyDown resources: http://msdn.microsoft.com/en-us/library/windows/desktop/ms646280%28v=vs.85%29.aspx KeyUp resources: http://msdn.microsoft.com/en-us/library/windows/desktop/ms646281%28v=vs.85%29.aspx

Method Details

MessageKeyboard() public method

public MessageKeyboard ( RemoteWindow window ) : System
window RemoteWindow
return System

Press() public method

Presses the specified virtual key to the window.
public Press ( Keys key ) : void
key Keys The virtual key to press.
return void

Release() public method

Releases the specified virtual key to the window.
public Release ( Keys key ) : void
key Keys The virtual key to release.
return void

Write() public method

Writes the specified character to the window.
public Write ( char character ) : void
character char The character to write.
return void