Link to home
Start Free TrialLog in
Avatar of WillowBrown
WillowBrown

asked on

Detect and Change Display/Screen resolution settings within a program

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
ASKER CERTIFIED SOLUTION
Avatar of _corey_
_corey_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _corey_
_corey_

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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:

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

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

https://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.
I'm fine with answering this question in either category.

It would be silly to delete perfectly good answers.
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).
Actually that was me.  My answers needed that much help that they introduced a new style around it to make it look better.
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