Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

lakibuk

flickering mouse cursor in windowed mode

This topic is 5330 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 am still trying to implement a non-flickering mouse cursor for a windowed directx game. Solutions i have found out: 1) directx help: attach a clipper to the primary surface Sounds easy but doesn''t help anything. 2.) setCursor(NULL) and blit your own cursor sprite Ok,i did this but the results are not very pretty (still flickering at window edges,strange mouse speed on some systems). I know there must be a way to use the system cursor without flickering. All PopCap games do it. And they use directX. Has anybody found out how it works?

Share this post


Link to post
Share on other sites
Advertisement
Please, do not use "DirectX" when you are just referring to the graphics API. Say Direct3D, and what version. Actually, the clipper implies DirectDraw, so say that. Anyway, I don''t think you''re being descriptive enough to get a good response; i.e. for blitting your own cursor sprite, maybe you''re doing it wrong?

Share this post


Link to post
Share on other sites
The strange thing is that the flickering only occurs on windows 2000 PCs.
Has anyone written a directx application that runs in windowed mode and knows how to solve this? The directx tutorial program called "Switcher" has this flickering,too.

Share this post


Link to post
Share on other sites

  • 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!