Archived

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

Enumerating display modes using WIN32 not DX.

This topic is 6283 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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