C# Класс GlobalHotkeys.Hotkey

Definition of Keys to register and react to. Only keys nor registered by EA are available.
Наследование: IDisposable
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
RegisterHotKey bool
UnregisterHotKey bool

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

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

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

Метод Описание
RegisterHotKey ( IntPtr hWnd, int id, int fsModifiers, int vk ) : bool
UnregisterHotKey ( IntPtr hWnd, int id ) : bool

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

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

public Dispose ( ) : void
Результат void

GetHashCode() публичный закрытый Метод

public final GetHashCode ( ) : int
Результат int

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

public Hotkey ( Keys key, Modifiers modifiers, HotkeyHandler handler ) : System
key Keys
modifiers Modifiers
handler HotkeyHandler
Результат System

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

public IsPressedKeyCombination ( IntPtr lParam ) : bool
lParam System.IntPtr
Результат bool

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

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
Результат void

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

Unregisters the current hotkey with Windows.
public Unregister ( ) : void
Результат void