Sign in to follow this  
andrew1b

Device lost when I click on the corner

Recommended Posts

andrew1b    229
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
Endurion    5411
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

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