Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Setting Video Modes


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 PyroFragger   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 September 1999 - 02:04 PM


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.


Sponsor:

#2 PyroFragger   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 September 1999 - 10:46 AM

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.

#3 mutex   Members   -  Reputation: 1109

Like
Likes
Like

Posted 04 September 1999 - 12:10 PM

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.

#4 PyroFragger   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 September 1999 - 05:54 PM


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.

#5 Dæmin   Members   -  Reputation: 128

Like
Likes
Like

Posted 04 September 1999 - 06:20 PM

That is done in C. Win32 is basically C code, MFC is C++. But the Win32 API is C.

#6 PyroFragger   Members   -  Reputation: 122

Like
Likes
Like

Posted 05 September 1999 - 08:04 AM


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.

#7 mutex   Members   -  Reputation: 1109

Like
Likes
Like

Posted 07 September 1999 - 02:04 PM

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).]





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS