0

I need to change my screen resolution programmatic way from 2560x1440 to 1680x1050, and set AMD Catalyst to "center picture" mode. I am tired of repeating this process and revert back always before I start gaming. I can't afford better or more GPUs to handle the performance issues. My current situation works fine except that it's painful.

I am looking for C# code since that's the desktop language I know best.

Tower
  • 98,741
  • 129
  • 357
  • 507
  • Yo' cc http://stackoverflow.com/questions/2727688/how-to-set-the-windows-screen-resolution-using-c-sharp-windows-application http://stackoverflow.com/questions/3039651/access-users-possible-screen-resolutions-c-sharp-2010 http://www.c-sharpcorner.com/UploadFile/Joshy_geo/changescreenresolution10102006112110AM/changescreenresolution.aspx – Mob Oct 29 '11 at 14:01

1 Answers1

0

As of changing resoultion:

You can use EnumDisplayDevices to check displays you have available and EnumDisplaySettings to list available resolutions for your displays. Then use ChangeDisplaySettings to set the resolution you need.

Kamil Lach
  • 4,519
  • 2
  • 19
  • 20