C# Class GlobalHotkeys.Hotkey

Definition of Keys to register and react to. Only keys nor registered by EA are available.
Inheritance: IDisposable
Datei anzeigen Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools

Private Properties

Property Type Description
RegisterHotKey bool
UnregisterHotKey bool

Public Methods

Method Description
Dispose ( ) : void
GetHashCode ( ) : int
Hotkey ( Keys key, Modifiers modifiers, HotkeyHandler handler ) : System
IsPressedKeyCombination ( IntPtr lParam ) : bool
Register ( IWin32Window window ) : void

Registers the current hotkey with Windows. Note! You must override the WndProc method in your window that registers the hotkey, or you will not receive any hotkey notifications.

Unregister ( ) : void

Unregisters the current hotkey with Windows.

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetHashCode() public final method

public final GetHashCode ( ) : int
return int

Hotkey() public method

public Hotkey ( Keys key, Modifiers modifiers, HotkeyHandler handler ) : System
key Keys
modifiers Modifiers
handler HotkeyHandler
return System

IsPressedKeyCombination() public method

public IsPressedKeyCombination ( IntPtr lParam ) : bool
lParam System.IntPtr
return bool

Register() public method

Registers the current hotkey with Windows. Note! You must override the WndProc method in your window that registers the hotkey, or you will not receive any hotkey notifications.
public Register ( IWin32Window window ) : void
window IWin32Window
return void

Unregister() public method

Unregisters the current hotkey with Windows.
public Unregister ( ) : void
return void