Sign in to follow this  

[.net] MDX fullscreen

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

hi, im having problems getting my mdx c# app to run in fullscreen... windowed is fine, could anyone please post a tiny example of a fullscreen setup? thanks

Share this post


Link to post
Share on other sites
Generally a fullscreen app can be made by setting a few fields in the PresentParameters of your app. Namely, set windowed to false and BackBufferWidth/BackBufferHeight to the desired resolution you want your app to run at. Hope that helps.

-AJ

Share this post


Link to post
Share on other sites
U235's reply covers what you need, but be aware that the backbuffer width & height have to be supported by your adapter. You can obtain the current desktop resolution for this through System.Windows.Forms.Screen.Primary.Bounds.

Also check this recent thread for more info and pitfalls.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Using controls as a render target? I think you need to switch render targets to an actual window when swicthing to fullscreen if you're using a panel, picturebox or such as a render target in windowed mode. Kept me busy for a while.

Share this post


Link to post
Share on other sites

This topic is 4217 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.

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