C# Class BoringHeroes.Interaction.KeyboardHook

Inheritance: IDisposable
Datei anzeigen Open project: lances101/BoringHeroes Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
KeyboardHook ( ) : System
RegisterHotKey ( ModifierKeys modifier, Keys key ) : void

Registers a hot key in the system.

Private Methods

Method Description
RegisterHotKey ( IntPtr hWnd, int id, uint fsModifiers, uint vk ) : bool
UnregisterHotKey ( IntPtr hWnd, int id ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

KeyboardHook() public method

public KeyboardHook ( ) : System
return System

RegisterHotKey() public method

Registers a hot key in the system.
public RegisterHotKey ( ModifierKeys modifier, Keys key ) : void
modifier ModifierKeys The modifiers that are associated with the hot key.
key Keys The key itself that is associated with the hot key.
return void