Knowing availeable resolutions

Started by
1 comment, last by Bouga 19 years, 10 months ago
Hi, is there a way to find out all the possible resolutions (width*height*bits) on a certain machine? It would be cool to let people actually choose only the resolutions that are supported on his comp, not let him choose and then say whether it is supported or not...
"A screen buffer is worth a thousand char's" - me
Advertisement
Check out the EnumDisplaySettings function.It does exactly what you want,except that I think it returns all the modes that the graphic card supports,not the monitor.In my comp,sometimes I get a SCAN RANGE error,although I use a setting considered valid by EnumDisplaySettings.
Thanks
"A screen buffer is worth a thousand char's" - me

This topic is closed to new replies.

Advertisement