Can anyone tell me the way to change the resolution of the screen in a C++ program?I mean, my program can only be executed in 800x600 and i change the resolution everytime the user opens it.
Thank u
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, I am not going to answer your question, because I don't have the answer, but I will make a comment.
(A) I hate applications that change my screen resolution for 2 reasons (1) I set my screen resolution for a reason - I like it that way (same with the colours), (2) some applications do not change the resolution well and end up messing up my icon arrangement on the screen
(B) You state that your app must run at 800x600, what will happen if somebody is running at 640x480 and their monitor cannot handle a higher resolution.
Your application is probably restricted to 800x600 because of bitmaps you have chosen?
I don't mind if an application as a smaller window on my desktop.
Sorry, my little rant ... hopefully, someone will come along with a useful answer.
rr
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
what i just do is went the window is open goto to menu and then to properties then just change the size of the window and the font and so on then went your done goto ok then a window will come up and ask u to apply the properties to current window only or save changes just goto save changes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can anyone tell me the way to change the resolution of the screen in a C++ program?I mean, my program can only be executed in 800x600 and i change the resolution everytime the user opens it.
Thank u
Sorry, I am not going to answer your question, because I don't have the answer, but I will make a comment.
(A) I hate applications that change my screen resolution for 2 reasons (1) I set my screen resolution for a reason - I like it that way (same with the colours), (2) some applications do not change the resolution well and end up messing up my icon arrangement on the screen
(B) You state that your app must run at 800x600, what will happen if somebody is running at 640x480 and their monitor cannot handle a higher resolution.
Your application is probably restricted to 800x600 because of bitmaps you have chosen?
I don't mind if an application as a smaller window on my desktop.
Sorry, my little rant ... hopefully, someone will come along with a useful answer.
rr
http://thevertigo.com/phpBB2/viewtopic.php?t=62
=)
Kip
you can use ChangeDisplaySettings
but rr raises some good points
Adrian
what i just do is went the window is open goto to menu and then to properties then just change the size of the window and the font and so on then went your done goto ok then a window will come up and ask u to apply the properties to current window only or save changes just goto save changes.
that would work for a console window, but the OP asked about the screen resolution
Adrian