Jump to content
  • Advertisement
Sign in to follow this  
asghar

Untitled

This topic is 2899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need functions that assess mouse position (movement) without press any button of mouse. Please help me.

Share this post


Link to post
Share on other sites
Advertisement
be specific:

What language are you using? What operating system are you targeting? What APIs/SDKs are you working with? What is the scope of the problem you are trying to solve?

Share this post


Link to post
Share on other sites
If you are using C/C++, you can use GetCursorPos and SetCursorPos.

Documented on MSDN:
http://msdn.microsoft.com/en-us/library/ms648390%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms648394%28v=VS.85%29.aspx

Share this post


Link to post
Share on other sites
Quote:
Original post by TheUnnamable
If you are using C/C++, you can use GetCursorPos and SetCursorPos.

Documented on MSDN:
http://msdn.microsoft.com/en-us/library/ms648390%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms648394%28v=VS.85%29.aspx


That's not C/C++. That's the WinAPI.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!