Archived

This topic is now archived and is closed to further replies.

voodoo

Enumerating display modes using WIN32 not DX.

Recommended Posts

voodoo    122
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.

Share this post


Link to post
Share on other sites
Ridcully    122
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

Share this post


Link to post
Share on other sites