When the form loads, I do this (bearing in mind I have imported the DLLs previously)
Expand|Select|Wrap|Line Numbers
- RegisterHotKey(this.Handle, this.GetType().GetHashCode(), 2, (int)'A');
Expand|Select|Wrap|Line Numbers
- protected override void WndProc(ref Message m)
- {
- if (m.Msg == 0x0312)
- CopyToClip();
- base.WndProc(ref m);
- }
Any ideas on how I can add another hotkey?