C# Class TpTrayUtility.HotKey

Inheritance: IMessageFilter
Show file Open project: TargetProcess/Tp.TrayUtility Class Usage Examples

Public Methods

Method Description
CanRegistred ( Keys _key, KeyModifiers _modifier ) : bool
HotKey ( IntPtr h, int _keyID, Keys _key, KeyModifiers _modifier, EventHandler hotKeyPressed ) : System
HotKey ( int _keyID, Keys _key, KeyModifiers _modifier, EventHandler hotKeyPressed ) : System
PreFilterMessage ( Message &m ) : bool
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
ReRegisterHotKey ( ) : void
RegisterHotKey ( IntPtr hWnd, int id, KeyModifiers fsModifiers, Keys vk ) : bool
RegisterHotKey ( Keys _key, KeyModifiers _modifier ) : bool
Run ( bool p ) : void
UnregisterHotKey ( IntPtr hWnd, int id ) : bool

Method Details

CanRegistred() public method

public CanRegistred ( Keys _key, KeyModifiers _modifier ) : bool
_key Keys
_modifier KeyModifiers
return bool

HotKey() public method

public HotKey ( IntPtr h, int _keyID, Keys _key, KeyModifiers _modifier, EventHandler hotKeyPressed ) : System
h System.IntPtr
_keyID int
_key Keys
_modifier KeyModifiers
hotKeyPressed EventHandler
return System

HotKey() public method

public HotKey ( int _keyID, Keys _key, KeyModifiers _modifier, EventHandler hotKeyPressed ) : System
_keyID int
_key Keys
_modifier KeyModifiers
hotKeyPressed EventHandler
return System

PreFilterMessage() public method

public PreFilterMessage ( Message &m ) : bool
m System.Windows.Forms.Message
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void