OKay. thanks anyway. Maybe I should ask again...
Rex Miao
Posts
-
[C++] How to change the mouse position in Mouse Hook -
[C++] How to change the mouse position in Mouse HookDear Bro, Do you know "sakasamouse"? That tool can do excatly what I want. And it seems it is not a driver. because it is an .exe file and has an .dll with it. Do you know how it do? Thanks in advance
-
[C++] How to change the mouse position in Mouse Hooktry it alreay. but it can't fullfill the use I need. even if it didn't have any effect at all. guess the mouse move event reflash is too quick.
-
[C++] How to change the mouse position in Mouse HookThanks for your information lead me to the right direction. I will study driver filter then. thanks
-
[C++] How to change the mouse position in Mouse HookDear All, This is my first time to ask question on this platform. The question is: I want to write a program, which can modify the mouse position to achieve inverting mouse movement, like wanna move up but it goes down. wanna move left but it goes right. here is the callback sample code, but I can get what I want. What can I do?
LRESULT CALLBACK MouseHookProc2(int nCode, WPARAM wParam, LPARAM lParam)
{if(wParam == WM\_MOUSEMOVE ||wParam == WM\_NCMOUSEMOVE) { MOUSEHOOKSTRUCT\* data=(MOUSEHOOKSTRUCT\*) lParam; LPARAM lParam2= MAKELPARAM(0,data->pt.y); return CallNextHookEx(NULL,nCode,wParam,lParam2); }
return CallNextHookEx(NULL,nCode,wParam,lParam);
}