Is there any way to change the screen resolution at run time? I mean so it resizes the screen, not just the window or the frame.
Printable View
Is there any way to change the screen resolution at run time? I mean so it resizes the screen, not just the window or the frame.
Doesn't anybody know how to?
There's an option in the Application Properties, under the "Window" tab that says "Change Resolution Mode"... if this is checked, your application will change the resolution to the Application's resolution at runtime (as far as I understand it).
Oh I know about that.
What I'm trying to do is make a letter box thing for widescreen displays so nothing will get stretched out, so basicly I don't want to just resize the window to 1024x768, I want it to be resized to Wx768 where W is the width of the screen constrained to the aspect ratio that the monitor is. So there would be black bars running down the sides, or in wierd cases where people have monitors that are higher than wider, black bars would appear on the bottom and top.
That's why I need to be able to change the resolution, so I can calculate the aspect ratio, then change the resolution accordingly.
That being said, a question has come to mind: will the screen resize if the dimensions are non standard like 700x1038 or does it have to be a standard resolution like 1024x768 or 1280x1024?
EDIT: Ok, found the answer to the last question. It just goes to the next largest screen resolution.
I see black bars on some games that change resolution at runtime because my monitor is 1280 by 768.
Ummm... Ok...
Isn't there any way to change the resolution while the game is running?
I seem to remember there being an object in MMF1.5 that could do this.
The Big Box object seems to be able to do this
(http://clickteam.info/neatwares/extensions/index.php?action=extension&name=The_Big_Box_Object )
It will only work if the monitor actually supports the resolution you're trying to change to though...