Jump to content
  • Advertisement
Sign in to follow this  
Matsy

Strange mouse issue...

This topic is 5137 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 might know what is causing this already, but I thought I'd throw it out into the forum to see if anyone else is experiencing the problem. What's happening is when I create my directX window. (Everything is displaying... etc... etc) In fullscreen mode I can move my mouse cursor to the top of the screen and move the window! It ends up causing lost devices etc. Is this a problem with DirectX summer update 2004? If not I need revisit how im handling my mouse i think.

Share this post


Link to post
Share on other sites
Advertisement
This sounds like your windows styles still have the caption in them. For fullscreen you should make a window with WS_POPUP only. No borders, no caption.

If you have toggling from window to fullscreen and vice versa you can change the windows styles on the fly with GetWindowLong and SetWindowLong using GWL_style.

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!