Jump to content
  • Advertisement
Sign in to follow this  
kovacsp

Rectangle surrounding mouse cursor

This topic is 4994 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, I have a windowed directx and mfc app, and my problem is that the mouse cursor is surrounded by an almost trasparent, but still disturbing rectangle. It is most visible when the background is dark. I'm not sure yet, but it seems that the rectangle is stronger on ATI cards. Anyone seen this before? What could be the problem? Thanks for your answers in advance, Peter

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Hi,

what are the properties of window that handles dx ?

Share this post


Link to post
Share on other sites
if it's a fullscreen app I have read that directX can have problems with the standard windows mouse cursors. I would recommend simply implementing your own cursor (which has the added bonus of improved customizability). This is relatively simple to implement: Hide the standard cursor and draw your new cursor at mouse position x,y

Share this post


Link to post
Share on other sites
Thanks for your answers, guys. Now I looked at it, and I have hredraw and vredraw everywhere...

Yes, an own cursor implementation could be better, but we can do everything we need with this, apart from this little problem. I think it wouldn't worth it. But I'm afraid it will be needed.

Any other ideas?

Peter

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!