Solved

Detect and Change Display/Screen resolution settings within a program

Posted on 2003-11-21
9
1,072 Views
Last Modified: 2010-04-01
How do you detect the current setting, and change them to a different setting when your program launches. For instance, the program just fills the screen if the resolution is set to 1024 x 768, but is too large to fit in a screen that is 800 x 600. So, you want to be able the set the screen to 1024 x 768 when program launches, the set it it back after it closes using Windows XP Pro and Borland 6 Enterprise
0
Comment
Question by:WillowBrown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 8

Accepted Solution

by:
_corey_ earned 125 total points
ID: 9801913
0
 
LVL 8

Expert Comment

by:_corey_
ID: 9801922
0
 
LVL 48

Assisted Solution

by:AlexFM
AlexFM earned 125 total points
ID: 9801924
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 32

Expert Comment

by:jhance
ID: 9803425
This is not a C++ language question and it off topic here.  A much better place for this would be the WINDOWS PROGRAMMING topic area:

http://www.experts-exchange.com/Programming/Programming_Platforms/Win_Prog/

You should post a comment for the moderator in the CS topic area:

http://www.experts-exchange.com/Community_Support/

and ask them to move your question to the right topic area.  It helps things all around and benefits you by getting Windows Programming experts on your question vs. C++ experts here.
0
 
LVL 8

Expert Comment

by:_corey_
ID: 9803662
I'm fine with answering this question in either category.

It would be silly to delete perfectly good answers.
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 9803670
I don't care about this too. I want to confess - once I answered C++ question in C# area, and nothing terrible happen (except new EE look which was introduced 4.5 months after this).
0
 
LVL 8

Expert Comment

by:_corey_
ID: 9804098
Actually that was me.  My answers needed that much help that they introduced a new style around it to make it look better.
0
 
LVL 9

Expert Comment

by:tinchos
ID: 10285711
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: _corey_ {http:#9801922} & AlexFM {http:#9801924}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question