Solved

Delphi1: Colordepth

Posted on 1998-10-09
1
147 Views
Last Modified: 2010-04-06
How can i get the actual color depth of the screen?
I expect a result like 8 bits or 24 bits
0
Comment
Question by:ponti
1 Comment
 
LVL 4

Accepted Solution

by:
erajoj earned 100 total points
ID: 1342319
Hi,
Here's how to do it:
  BitsPerPixel := GetDeviceCaps( GetDC( 0 ), BITSPIXEL );

/// John
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 2010 Export to pdf 2 287
Delphi XE10, MySQL Query 4 127
How to debug For loops? 3 45
Tembedded WB animatid gifs not animated on some pcs 2 73
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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

896 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

16 Experts available now in Live!

Get 1:1 Help Now