C# Class DamageMeter.KeyboardHook

Inheritance: IDisposable
Datei anzeigen Open project: neowutran/ShinraMeter

Public Methods

Method Description
Dispose ( ) : void
RegisterHotKey ( HotkeysData modifier, Keys key ) : void

Registers a hot key in the system.

RegisterKeyboardHook ( ) : void
SetHotkeys ( bool value ) : bool
Update ( ) : void

Private Methods

Method Description
ClearHotkeys ( ) : void
KeyboardHook ( ) : System
Register ( ) : void
RegisterHotKey ( IntPtr hWnd, int id, uint fsModifiers, uint vk ) : bool
UnregisterHotKey ( IntPtr hWnd, int id ) : bool
hook_KeyPressed ( object sender, KeyPressedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

RegisterHotKey() public method

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

RegisterKeyboardHook() public method

public RegisterKeyboardHook ( ) : void
return void

SetHotkeys() public method

public SetHotkeys ( bool value ) : bool
value bool
return bool

Update() public method

public Update ( ) : void
return void