Solved

Detect and Change Display/Screen resolution settings within a program

Posted on 2003-11-21
9
1,068 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
Industry Leaders: 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

679 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