Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First of.. wtf is this? I can't post some text.. keeps saying I'm trying to post poorly formated code which I am not.
- I have a question about WinAPI I done different kind of tests but nothing worked so far.
- I want to do the following:
- Left mouseclick DOWN -> CTRL down -> move mouse -> Left mouseclick up -> CTRL up..
- Here's my code so far
- http://pastebin.com/JYcq5jQb
- I think my variable names are pretty self explantory but if there's anything you wonder.. just ask and I'll explain it. hWnd = my handle to the client I'm casting these "messages" to x, y = initial coordinates newx, newy = coordinates after mouse movement
- I can also add this: Only time it works is if I'm moving my physical mouse at the same time the program goes through this block of code.
- Does anyone know what this is not working? How to solve this?
Advertisement
Add Comment
Please, Sign In to add comment