Jump to content
  • Advertisement
Sign in to follow this  
Moeen

Problem in moving the surface of mouse cursor according to mouse movement

This topic is 4844 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

Hi All, Hope u wud b fine Currently i m facing problem in mouse cursor i've set the surface of mouse using Device's function SetCursorProperties(0,0,pSusface). now when i move the mouse, the surface is still at its origional place. i've handled the mouse click and mouse events of DirectInput n they r working correctly..... i showed a dialog box on mouse click which shows the correct coordinated of mouse current location... but the surface is stationary on its oriional location. there is also so much flickeration on the surface. i am doing all of this work in a frame. every time a frame is called, mouse properties r set ang device->ShowCursor() is called.. i have to submit my project on 20th of this month. so plz if convenient give me suggestions in detail. i wud b very thankful 2 u all waiting 4 prompt reply moeen

Share this post


Link to post
Share on other sites
Advertisement
I would recommend turning off the hardware cursor and just display the surface at the mouse coordinates.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!