C# Class SidebarDiagnostics.Windows.Hotkey

Show file Open project: ArcadeRenegade/SidebarDiagnostics Class Usage Examples

Private Properties

Property Type Description
KeyHook System.IntPtr
Register void
Unregister void

Public Methods

Method Description
Disable ( ) : void
Dispose ( ) : void
Enable ( ) : void
Hotkey ( ) : System
Hotkey ( int index, KeyAction action, uint virtualKey, bool altMod = false, bool ctrlMod = false, bool shiftMod = false, bool winMod = false ) : System
Initialize ( Sidebar window, Hotkey settings ) : void

Private Methods

Method Description
KeyHook ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
Register ( Hotkey hotkey ) : void
Unregister ( Hotkey hotkey ) : void

Method Details

Disable() public static method

public static Disable ( ) : void
return void

Dispose() public static method

public static Dispose ( ) : void
return void

Enable() public static method

public static Enable ( ) : void
return void

Hotkey() public method

public Hotkey ( ) : System
return System

Hotkey() public method

public Hotkey ( int index, KeyAction action, uint virtualKey, bool altMod = false, bool ctrlMod = false, bool shiftMod = false, bool winMod = false ) : System
index int
action KeyAction
virtualKey uint
altMod bool
ctrlMod bool
shiftMod bool
winMod bool
return System

Initialize() public static method

public static Initialize ( Sidebar window, Hotkey settings ) : void
window Sidebar
settings Hotkey
return void