Jump to content
Sign in to follow this  
Kevin_nl

Retrieving possible screen resolutions

Recommended Posts

Kevin_nl

Hi all,

I've searched the forum for the resolution changer and what I found works perfectly.

(ChangeResolution) Thanks to PartyPooper

What I've done is the following;

I read out the wanted resolution from the registry. If there are no values I open an inputbox and ask for the values and store them into the registry for future use. (normally this will only happen once).

Every 2 (variabel) minutes it checks if the current resoltion is still the same as the settings. If not it will restore it to the desired resolution.

I need this for my media center which resolution is changed every somewhat time. (source unknown)

My question;

Is it possible to get the resolutions supported by the graphics card and load them into a dropdownbox or slider?

Just like the slider in the in the properties of the screensettings.

in this manner I can retrieve the supported resolutions and the user can't give wrong resolutions.

Many thanks,

Kevin

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.