Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3670
Number of posts: 9122

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Desktop Video Resolution Posted by __JoySoft__ on 9 Oct 2003 at 3:33 AM
Hi! I want to change the desktop video resolution from my Win32 app (Borland C++ language (IDE Ver 4.02)). How can I do that??

Report
Re: Desktop Video Resolution Posted by JasonD on 9 Oct 2003 at 5:52 AM
: Hi! I want to change the desktop video resolution from my Win32 app (Borland C++ language (IDE Ver 4.02)). How can I do that??
:

Take a look at:
EnumDisplaySettings
http://msdn.microsoft.com/library/en-us/gdi/devcons_84oj.asp
to get all possible graphics modes.

Also, look at:
ChangeDisplaySettings
http://msdn.microsoft.com/library/en-us/gdi/devcons_7gz7.asp
to change into one of these modes.

Jason Doucette
http://www.jasondoucette.com/
"If you don't win, its not a great tragedy - the worst that happens is that you lose a game." - Bobby Fischer




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.