예제 #1
0
        private static IntPtr HookCallback(
            int nCode, IntPtr wParam, IntPtr lParam)
        {
            Formcap.handleKeyboardInput(nCode, wParam, lParam);

            return(CallNextHookEx(_hookID, nCode, wParam, lParam));
        }
예제 #2
0
 private static IntPtr HookCallback(
     int nCode, IntPtr wParam, IntPtr lParam)
 {
     if (nCode >= 0 && MouseMessages.WM_LBUTTONDOWN == (MouseMessages)wParam)
     {
         Formcap.handleLeftClick(lParam);
     }
     if (nCode >= 0 && MouseMessages.WM_MOUSEWHEEL == (MouseMessages)wParam)
     {
         Formcap.handleScroll(lParam);
     }
     return(CallNextHookEx(_hookID, nCode, wParam, lParam));
 }
예제 #3
0
파일: Form1.cs 프로젝트: lolkev/miaoumouse
 private void button1_Click(object sender, EventArgs e)
 {
     Formcap cap = new Formcap();
     cap.Show();
 }
예제 #4
0
파일: Form1.cs 프로젝트: lolkev/miaoumouse
        private void button1_Click(object sender, EventArgs e)
        {
            Formcap cap = new Formcap();

            cap.Show();
        }