Advertisement

Setting Video Modes

Started by September 07, 1999 08:04 PM
5 comments, last by PyroFragger 25 years, 4 months ago
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.

Advertisement

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.
That is done in C. Win32 is basically C code, MFC is C++. But the Win32 API is C.
Daemin(Dominik Grabiec)

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