C# Class OpenTween.HookGlobalHotkey

Inheritance: System.Windows.Forms.NativeWindow, IDisposable
ファイルを表示 Open project: rhenium/OpenTween Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
HookGlobalHotkey ( Form targetForm ) : System
OnHandleCreated ( Object sender, EventArgs e ) : void
OnHandleDestroyed ( Object sender, EventArgs e ) : void
RegisterOriginalHotkey ( Keys hotkey, int hotkeyValue, ModKeys modifiers ) : bool
UnregisterAllOriginalHotkey ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
WndProc ( Message &m ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

HookGlobalHotkey() public method

public HookGlobalHotkey ( Form targetForm ) : System
targetForm System.Windows.Forms.Form
return System

OnHandleCreated() public method

public OnHandleCreated ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void

OnHandleDestroyed() public method

public OnHandleDestroyed ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void

RegisterOriginalHotkey() public method

public RegisterOriginalHotkey ( Keys hotkey, int hotkeyValue, ModKeys modifiers ) : bool
hotkey Keys
hotkeyValue int
modifiers ModKeys
return bool

UnregisterAllOriginalHotkey() public method

public UnregisterAllOriginalHotkey ( ) : void
return void

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void