Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 15827, Detecting and Changing Display Resolution at Runtime

by Eudy Silva Email: Anonymous


How to call Windows' API functions to detect the current display mode, find available display modes and set a desired resolution/color depth at runtime. Updated.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 1.0  to 5.0 2300 downloads
Copyright: No significant restrictions


Size: 8,385 bytes
Updated on Mon, 09 Apr 2001 21:32:57 GMT
Originally uploaded on Sun, 08 Apr 2001 17:43:53 GMT
SHA1 Hash: 09152C2CF4C7216BC1E76CD282C8000BEDDD49DE
MD5 Hash: 3574FA4DC7BDEBF69D8FB17C32323F93

    Explore the files in this upload

Description
Example of calls to Windows' API functions GetDC, GetDeviceCaps, ReleaseDC, EnumDisplaySettings and ChangeDisplaySettings to detect and change display mode (screen resolution and color depth).
A timeout self closing window waits for user confirmation (useful if the monitor gets lost).
Use of TTimer, TProgressBar, ShowModal() and ModalResult

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04