Solved

What is a graphic mode.

Posted on 1998-03-31
1
133 Views
Last Modified: 2010-04-06
Haw can I get a screen resolution and colors in Delphi program.
0
Comment
Question by:EG033198
1 Comment
 
LVL 4

Accepted Solution

by:
d003303 earned 100 total points
ID: 1361132
Hi EG,

use the Screen instance of TScreen for resolution, DPI etc.
For color depth, call
NumBitsPerPixel := GetDeviceCaps(Canvas.Handle, BITSPIXEL);

Slash/d003303
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

13 Experts available now in Live!

Get 1:1 Help Now