Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

What is a graphic mode.

Posted on 1998-03-31
1
Medium Priority
?
146 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 300 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

876 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