Detect the resolution and change it.
Posted on 2000-04-03
MY application is meant for 800*600 resolution. If the user is in any other resolution, then all my icons,pictures everything looks ugly.
So what i want is before starting the application, i will check the resolution and if it's not 800*600, then give a error message with ok and cancel options.
If the user clicks ok, then i want to change the res to 800*600 directly without going to display settings.
how to do it?
thanks in advacne.