?
Solved

Dispaly

Posted on 1999-01-26
9
Medium Priority
?
226 Views
Last Modified: 2010-04-06
How to change display Settings, Colors, and Screen area???
0
Comment
Question by:ILPowerSoft
[X]
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
9 Comments
 
LVL 4

Expert Comment

by:BoRiS
ID: 1363364
ILPowerSoft

You need to use the GetSystemMetrics, SystemParametersInfo API to handle all of these...

to retrieve all the info, use

GetSystemMetrics(CM_CXFULLSCREEN or CM_CYFULLSCREEN);

or

SystemParametersInfo(SPI_GETWORKAREA, 0, YourRect, SPIF_UPDATEINIFILE);

to set the work area etc...

SystemParametersInfo(SPI_SETWORKAREA, 0, YourRect, SPIF_UPDATEINIFILE or SPIF_SENDCHANGE);

Check the win32.hlp file for more info on this

Later
BoRiS
0
 
LVL 20

Expert Comment

by:Madshi
ID: 1363365
Perhaps you should look at winAPI EnumDisplaySettings and ChangeDisplaySettings, too.

Regards, Madshi.
0
 

Author Comment

by:ILPowerSoft
ID: 1363366
plaes giv my an a exmp for the answer
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:ILPowerSoft
ID: 1363367
So !!!!!!
0
 

Author Comment

by:ILPowerSoft
ID: 1363368
How can I display my Form in 256 colors when the system works
in 16bit or 24bit or more?  
0
 

Author Comment

by:ILPowerSoft
ID: 1363369
How can I display my Form in 256 colors when the system works
in 16bit or 24bit or more?  
0
 
LVL 17

Accepted Solution

by:
inthe earned 80 total points
ID: 1363370
http://www.inprise.com/devsupport/delphi/qanda/749.html

gives full code for change display settings.

and :

http://www.experts-exchange.com/jsp/qShow.jsp?ta=delphi&qid=10129253 
about halway down this question you will find some code i did for someone else to change colors of windows settings.
be carefull with it as you may mess up your colors because some of the names are decieving.
Regards Barry

0
 
LVL 17

Expert Comment

by:inthe
ID: 1363371
hi again
i have found better code for changing the display settings
than what is on the borland site
leave your email address so i can send to you it comes with example.
0
 

Author Comment

by:ILPowerSoft
ID: 1363372
ian@gezernet.co.il
0

Featured Post

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.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

762 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