Solved

Dispaly

Posted on 1999-01-26
9
222 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
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!

 

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 40 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…

726 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