Solved

Detect and Change Display/Screen resolution settings within a program

Posted on 2003-11-21
9
1,030 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
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
 
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now