|
-
Mar 6th, 2006, 04:35 AM
#1
Thread Starter
Hyperactive Member
Changing windows resolution
Hi there,
I've been trying to develop an application using the resolution of 1024x768. However when I use it in another computer (with another resolution) I do not obtain the results I would like..
Is there an easy way to change the windows res on entering the program to 1024x768 and returning to the original once you close the application?
(I've been looking on MSDN and no success so far )
Thanks in advance,
-
Mar 6th, 2006, 04:50 AM
#2
Re: Changing windows resolution
Yes, it is possible, but it shouldn't be done.
- Your program is not the only program that runs. If you change the resolution, it is not only for your program, but for complete windows.
- Not all display adapters will support all resolutions.
- Depending on the windows version, you may have to reboot after changing the resolution.
- Most TFT screens only function well with a specific resolution. If you change it, the display can be blurry.
- It should be the user who decides which resolution to use, not a program.
-
Mar 6th, 2006, 05:00 AM
#3
Re: Changing windows resolution
If you still would like to change the resolution, have a look at this thread
-
Mar 6th, 2006, 05:20 AM
#4
Thread Starter
Hyperactive Member
Re: Changing windows resolution
In a way I agree with you.. but most applications you see nowadays set the res they want (probably all games).. of course they use full screen and when you leave the application they return to the original res (...if the computer supports the res)... that is mainly what I want to do (except the full screen part)... although it may be weird to do it using a window....
... this happens because I don't redimention the objects and now it's to late to do it...
-
Mar 6th, 2006, 08:30 PM
#5
Re: Changing windows resolution
but most applications you see nowadays set the res they want
Only full screen applications (almost all of them games) do this, and there are many good reasons for it, including those listed by Frans C - not least of which being the rudeness of doing something unwanted to the users computer (if your program crashes, they are stuck in the wrong res.).
Do your reputation a favour, and spend a few minutes writing code to resize & move the controls. See the Classic VB FAQ (link below) for a thread with explanations and examples.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|