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.
edsontAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.