Programmatically determine available resolutions?

Started by
1 comment, last by Stoic 16 years, 8 months ago
Hi everyone - I'm interested in having a pop-up dialog box(Win32 GUI) at the beginning of my game that allows the user to decide what resolution to run at, etc. A bunch of Demosceners have a similar thing at the beginning of more contemporary demos. So, here's my newbie'ish question - how can I determine which resolution settings are available on the User's graphics card? Are there certain system calls I can make(WinXP)? Do I have to use D3D? (it doesn't seem to require D3D..., since many demosceners use OGL...) I'm programming in C++. Thanks for any help!
...
Advertisement
EnumDisplaySettings.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
Awesome, exactly what I needed. Thanks a bunch!
...

This topic is closed to new replies.

Advertisement