Solved

Dispaly

Posted on 1999-01-26
9
217 Views
Last Modified: 2010-04-06
How to change display Settings, Colors, and Screen area???
0
Comment
Question by:ILPowerSoft
9 Comments
 
LVL 4

Expert Comment

by:BoRiS
Comment Utility
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
Comment Utility
Perhaps you should look at winAPI EnumDisplaySettings and ChangeDisplaySettings, too.

Regards, Madshi.
0
 

Author Comment

by:ILPowerSoft
Comment Utility
plaes giv my an a exmp for the answer
0
 

Author Comment

by:ILPowerSoft
Comment Utility
So !!!!!!
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

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

Author Comment

by:ILPowerSoft
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
ian@gezernet.co.il
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now