I'm using the mouse to rotate my character in-game for world of warcraft..first i set the cursor somewhere over the wow screen (which is set by user..) then call mouse_event(Right_click_down,0,0,0)
then call mouse_move(-10or10,0,0,0) to move it left/right ie. to turn my character. The only problem is when I call mouse_event(Right_click_up,0,0,0)
it rotates the screen down like..10degrees..after like 5-6 runs i'm looking over-myself...not good. So, how do I stop it form moving vertically while calling mouse_event(RightClickUP) ? I supplied 0,0,0 for the x,y change arguments..there is no y change,0,..but it still moves the screen down a little bit. I also tried mouse_event(rightclickup,mysavedpoint.x,mysavedpoint.y,0,0) but same thing still happens. Anyone who knows this is going to be a life saver..i'd even have to write you into the credits..for what that's worth?
-Thanks in advance,
Andrew
edit: I checked msdn http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
and I'm not setting the position_absolute flag or w/e (so it's all relative) so 0,0,0 really means currentMousePosition.x,y so that's not the problem..maybe it's a wow thing?