🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Setting Video Modes
Gee, thanks for everyone's support. It really helped me. I cant wait till i have another question, I'll get the same quality answer.
Try the EnumDisplaySettings and ChangeDisplaySettings Win32 functions. Basically you just enumerate the formats until you find one you like, then set it. You'll have to remember to set it back when you're done.
Hey, thanks for your answer. I should have said in my original post that i was working in C, not C++. Is there any way to do it in C.
Oh, ok, I'll look into that. I still have no idea how to use it, i did locate the function definition in the winuser.h file though.
I'm wondering if there is a better way to set the video mode than VESA, as I am working in windows. Also, I hate DirectX so please dont reply with it in your answer. Thanks alot.
here's microsoft's documentation for those functions:
EnumDisplaySettings: http://msdn.microsoft.com/library/sdkdoc/gdi/devcons_84oj.htm
ChangeDisplaySettings: http://msdn.microsoft.com/library/sdkdoc/gdi/devcons_7gz7.htm
My web site: http://members.xoom.com/mutex0
[This message has been edited by mutex (edited September 07, 1999).]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement