C# Класс Binarysharp.MemoryManagement.Windows.Keyboard.MessageKeyboard

Class defining a virtual keyboard using the API Message.
Наследование: BaseKeyboard
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

MessageKeyboard() публичный Метод

public MessageKeyboard ( RemoteWindow window ) : System
window RemoteWindow
Результат System

Press() публичный Метод

Presses the specified virtual key to the window.
public Press ( Keys key ) : void
key Keys The virtual key to press.
Результат void

Release() публичный Метод

Releases the specified virtual key to the window.
public Release ( Keys key ) : void
key Keys The virtual key to release.
Результат void

Write() публичный Метод

Writes the specified character to the window.
public Write ( char character ) : void
character char The character to write.
Результат void