Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 567
  • Last Modified:

How to change the Windows XP Video Mode programatically?

Manually, we can list all the available video modes by clicking on Control Panel / Display / Settings / Advanced / Adapter / List All Modes, select a mode and click on the Apply buttom.

I'd like to know if it is possible to select a video mode using a C/C++ application. Does anybody know this information?

Thanks.
0
edsont
Asked:
edsont
  • 2
1 Solution
 
jkrCommented:
You can do that using 'ChangeDisplaySettings()' - see e.g. http://www.codeproject.com/system/enum_display_modes.asp ("Enumerate and Change Display Modes")
0
 
jkrCommented:
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now