Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Rex Miao

@Rex Miao
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [C++] How to change the mouse position in Mouse Hook
    R Rex Miao

    OKay. thanks anyway. Maybe I should ask again...

    C / C++ / MFC question c++ tutorial

  • [C++] How to change the mouse position in Mouse Hook
    R Rex Miao

    Dear 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 / C++ / MFC question c++ tutorial

  • [C++] How to change the mouse position in Mouse Hook
    R Rex Miao

    try 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 / C++ / MFC question c++ tutorial

  • [C++] How to change the mouse position in Mouse Hook
    R Rex Miao

    Thanks for your information lead me to the right direction. I will study driver filter then. thanks

    C / C++ / MFC question c++ tutorial

  • [C++] How to change the mouse position in Mouse Hook
    R Rex Miao

    Dear 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);
    }

    C / C++ / MFC question c++ tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups