Menu

Change screen resolution

2004-02-16
2012-09-26
  • Nobody/Anonymous

    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

     
    • Nobody/Anonymous

      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

       
    • Nobody/Anonymous

       
    • aditsu

      aditsu - 2004-02-17

      you can use ChangeDisplaySettings
      but rr raises some good points

      Adrian

       
    • Nobody/Anonymous

      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.

       
    • aditsu

      aditsu - 2004-02-17

      that would work for a console window, but the OP asked about the screen resolution

      Adrian

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.