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
Solved

Detect and Change Display/Screen resolution settings within a program

Posted on 2003-11-21
9
1,063 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
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

Title # Comments Views Activity
mixing C++ & C# in Vis Studio 2013 7 202
C++ error cannot convert from std::string to const char * 6 249
object oriented programming comparison 5 77
C++ Code Issue 4 25
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…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

828 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