Jump to content
  • Advertisement
Sign in to follow this  
andrew1b

Device lost when I click on the corner

This topic is 3742 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

Does anyone know the best way to avoid lost device every time I click on any of upper left or upper right corners of my fullscreen window? (Direct3D 9)

Share this post


Link to post
Share on other sites
Advertisement
If you can click on the corners (=NC area) of your window it isn't covering fullscreen (the client area, the size passed to CreateWindow(Ex) also covers the borders and caption). I assume you mean you've got the device set to fullscreen?

In that case you have to create a borderless window. Just WS_POPUP | WS_VISIBLE should be enough.

Just to be sure: You still have to handle a lost device for other purposes though.

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!