Moretti, Firstly, you need to ask yourself where it is desirable to alter the Windows default colours from your app. The usual way, as you say, is via the control panel. Users could be confused and irritated if your app changes those colours without their knowledge. I for one, would promptly uninstall such a program and send a couple of rude emails to the author. Unless of course, the purpose of the software is to allow users change those Windows settings.
If you can convince me why you would want to add this "feature" to your software, I'll tell you the Windows API calls to make. Regards, Dennis. ----- Original Message ----- From: "Moretti, Giovanni" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 3:52 PM Subject: [DUG]: Setting Windows Scheme Colours from Delphi - how? Hi Undoubtably it's possible to change the colours Windows uses for the desktop background, (in)active window header ... from delphi. I want to be able the SET these colours, not just access their current values, but from Delphi, not the usual Control Panel/Display property applet. Anyone know how? Thanks Giovanni ======================================================================= Giovanni Moretti | Institute of Information Sciences and Technology Senior Lecturer | Massey University, Palmerston North, New Zealand Computer Science | Ph 64-6-3505799x2474 == Fax 64-6-3502259 == ZL2BOI ----------------------------------------------------------------------- http://www-ist.massey.ac.nz/moretti mailto:[EMAIL PROTECTED] --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
