Sign in to follow this  
Matsy

Strange mouse issue...

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this