Beispiel #1
0
 protected override void WndProc(ref Message m)
 {
     if (m.Msg == Hotkeys.Constants.WM_HOTKEY_MSG_ID)
     {
         if (m.WParam.ToInt32() == qhk.GetHashCode())
         {
             QuitHotkey();
         }
         if (m.WParam.ToInt32() == shk.GetHashCode())
         {
             StartHotkey();
         }
     }
     base.WndProc(ref m);
 }