Example #1
0
        protected override void WndProc(ref Message m) //윈도우프로시저 콜백함수
        {
            if (m.Msg == HOTKEY)
            {
                KeyValuePair <Keys, int> keys = WinLib.InputKey(m);
                int index;
                if ((index = GetMacroKey(keys)) != -1)
                {
                    k_model.OnMacro(index);
                    return;
                }
            }

            base.WndProc(ref m);
        }