• Advertisement

Archived

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

Setting Video Modes

This topic is 6743 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

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.

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
That is done in C. Win32 is basically C code, MFC is C++. But the Win32 API is C.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

  • Advertisement