Registers new hot key.
Namespace:
Greatis.NostalgiaAssembly: Greatis.Nostalgia (in Greatis.Nostalgia.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function RegisterKey ( _ Key As Keys, _ Control As Boolean, _ Alt As Boolean, _ Shift As Boolean, _ Win As Boolean _ ) As Integer |
C# |
---|
public int RegisterKey( Keys Key, bool Control, bool Alt, bool Shift, bool Win ) |
Visual C++ |
---|
public: int RegisterKey( Keys Key, bool Control, bool Alt, bool Shift, bool Win ) |
JavaScript |
---|
function registerKey(Key, Control, Alt, Shift, Win); |
Parameters
- Key
- Type: System.Windows.Forms..::.Keys
Hot key.
- Control
- Type: System..::.Boolean
True for Control modifier.
- Alt
- Type: System..::.Boolean
True for Alt modifier.
- Shift
- Type: System..::.Boolean
True for Shift modifier.
- Win
- Type: System..::.Boolean
True for Win modifier.