Showmessage('Bits per pixel = '+IntTostr(GetDeviceCaps(Canvas.handle,
BITSPIXEL)));

There is lots of good stuff in getDeviceCaps, look at it in the WIN32 Help
Files.

Chris

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Dwane Van Der Sluis
Sent: Wednesday, 9 June 1999 08:52
To: Multiple recipients of list delphi
Subject: [DUG]: Windows Color Depth


Hi All,

What is the best way (or any) or determining the current color depth setting
within Windows 95, and NT.

Thanks

Dwane van der Sluis
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to