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

Started by
0 comments, last by Dave Hunt 18 years, 11 months ago
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
Advertisement
I would recommend turning off the hardware cursor and just display the surface at the mouse coordinates.

This topic is closed to new replies.

Advertisement