C# Class GlobalHotkeys.Hotkey

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

Private Properties

Свойство Type Description
RegisterHotKey bool
UnregisterHotKey bool

Méthodes publiques

Méthode 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

Méthode Description
RegisterHotKey ( IntPtr hWnd, int id, int fsModifiers, int vk ) : bool
UnregisterHotKey ( IntPtr hWnd, int id ) : bool

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetHashCode() public final méthode

public final GetHashCode ( ) : int
Résultat int

Hotkey() public méthode

public Hotkey ( Keys key, Modifiers modifiers, HotkeyHandler handler ) : System
key Keys
modifiers Modifiers
handler HotkeyHandler
Résultat System

IsPressedKeyCombination() public méthode

public IsPressedKeyCombination ( IntPtr lParam ) : bool
lParam System.IntPtr
Résultat bool

Register() public méthode

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
Résultat void

Unregister() public méthode

Unregisters the current hotkey with Windows.
public Unregister ( ) : void
Résultat void