I put together a project that gives user screen resolution options at runtime. Initially, I only have options to set the resolution to 800X590 or 1024X758 (I left off 10 pixels on the menu width to allow the Windows task bar to show through.
In this case, I used text objects that when clicked, sets the height and width values, then writes to an INI file. Then on menu startup, the values are read from the INI file, and the screen resolution is automatically set according to the INI values. If you want it to look more professional, you could use text box objects and/or list box objects to simulate a combo box or drop down box.
You could also have larger res settings for people using more powerful display drivers...I'm not exactly sure of the resolutions larger than 1024X768 are right now.
http://news.lacrossesoftware.com/AMS4/ScreenSize.zip
Limitations:
1. This only works if you install your menu on a hard drive so that the INI file values can be written.
2. If you use a background image stretched to page, it does not stretch to a screen size higher than the original resolution set in your project settings. But it works great with a solid color or gradient.
Hopefully, we can get an enhancement to stretch the background image at runtime. [img]/ubbthreads/images/icons/wink.gif[/img]
I also hear that an action script will be available to set "available" height and width. [img]/ubbthreads/images/icons/smile.gif[/img]
In this case, I used text objects that when clicked, sets the height and width values, then writes to an INI file. Then on menu startup, the values are read from the INI file, and the screen resolution is automatically set according to the INI values. If you want it to look more professional, you could use text box objects and/or list box objects to simulate a combo box or drop down box.
You could also have larger res settings for people using more powerful display drivers...I'm not exactly sure of the resolutions larger than 1024X768 are right now.
http://news.lacrossesoftware.com/AMS4/ScreenSize.zip
Limitations:
1. This only works if you install your menu on a hard drive so that the INI file values can be written.
2. If you use a background image stretched to page, it does not stretch to a screen size higher than the original resolution set in your project settings. But it works great with a solid color or gradient.
Hopefully, we can get an enhancement to stretch the background image at runtime. [img]/ubbthreads/images/icons/wink.gif[/img]
I also hear that an action script will be available to set "available" height and width. [img]/ubbthreads/images/icons/smile.gif[/img]