C# Class Rubberduck.Common.Hotkeys.Hotkey

Inheritance: IHotkey
Exibir arquivo Open project: retailcoder/Rubberduck

Public Methods

Method Description
Attach ( ) : void
Detach ( ) : void
Hotkey ( IntPtr hWndVbe, string key, ICommand command, Keys secondKey = Keys.None ) : System
OnMessageReceived ( ) : void

Private Methods

Method Description
GetCombo ( string key ) : Keys
GetKey ( string keyCode ) : Keys
GetModifierValue ( string &key ) : uint

Gets the KeyModifier values out of a key combination.

HookKey ( Keys key, uint shift ) : void

Method Details

Attach() public method

public Attach ( ) : void
return void

Detach() public method

public Detach ( ) : void
return void

Hotkey() public method

public Hotkey ( IntPtr hWndVbe, string key, ICommand command, Keys secondKey = Keys.None ) : System
hWndVbe System.IntPtr
key string
command ICommand
secondKey Keys
return System

OnMessageReceived() public method

public OnMessageReceived ( ) : void
return void