Enumerating display modes using WIN32 not DX.

Started by
1 comment, last by voodoo 23 years, 6 months ago
Hi, I want to be able to get the name of the device and all the resolutions available of the device, using regular WIN32 methods and not DX. Then I want to be able to list these in a list box. Is there any example out there? I am doing this because I am using OGL and I don''t want to use DX.
Hardcore Until The End.
Advertisement
well, you might want to look up some api functions like EnumDisplayModeSettings (anyway, something like that=)).
i was messing around with those a while ago. believe me, easier to set up a ddraw object and check for display modes. but you said you won''t use dx, so go the hard way...
just a thought: even if you find out the modes a card supports, you still don''t know if it''s 3d-capable. for example early voodoo cards only support 16-bit

rid
But I am doing it for OGL! Anyways I can always have them run a test. And see if it works fine or not.
Hardcore Until The End.

This topic is closed to new replies.

Advertisement