Jump to content
  • Advertisement
Sign in to follow this  
Hoover85

[MDX] Something wrong with fullscreen mode

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

When I move the mouse pointer into the upperleft corner of the screen, I can click the window that is running under my active application. There are no other weird spots where I can do this. The spot is meaby like 1px sized, but it causes some trouble if there is something to click at on its position, it might change the active application. What could cause this? I have set the application to run in fullscreen mode like this (VB.Net): pParams.Windowed = False ' Shouldn't this be enough?

Share this post


Link to post
Share on other sites
Advertisement
IIRC, this has something to do with the fact that windows with XP visual styles have rounded corners in the upper left and upper right. I think you can get around this by putting the following in your form constructor:


this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true);

Share this post


Link to post
Share on other sites
sorry, that was the wrong thing I think.
try playing around with the FormBorderstyle. If you set it to None, I think this should get rid of the title bar and just have rectangle with no buttons, which would be ideal for full screen. There may be another setting which is useful too.

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!