Change Display Resolution

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All.

I am using VC++/Visual Studio 6.0. I can get the current screen resolution
with GetSystemMetrics(), but how do you change the screen resolution ? I
guess I couldn't find a SetSystemMetrics() function or equivalent.

Ideallly, I'd like to avoid messing up with DirectX or the display drivers
directly. I suppose there must be an abstraction layer in VS that allows to
do that. However, I'll take any suggestion at this point...

What I am trying to do is have an application change the display resolution
when launched, and restore the original settings when closing.

Thanks to all in advance!
 
I am using VC++/Visual Studio 6.0. I can get the current screen resolution
with GetSystemMetrics(), but how do you change the screen resolution ?
ChangeDisplaySettings(Ex)

What I am trying to do is have an application change the display resolution
when launched, and restore the original settings when closing.

Have a look at VidRes - http://www.jddesign.co.uk/. It'll let you
create a shortcut to launch an application and control the resolution
while it runs.

Dave
 
Back
Top