Sign in to follow this  

Device lost when I click on the corner

Recommended Posts

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