Solved

Screen color resolution

Posted on 2000-03-21
11
219 Views
Last Modified: 2010-04-02
Hi all,
How do I get the screen color resolution
256 colors/ 16bit/24 bit /32 bit color??
I prefer an answer that uses directshow interface but its not neccary.
0
Comment
Question by:donnerjack
  • 9
  • 2
11 Comments
 
LVL 5

Accepted Solution

by:
Wyn earned 400 total points
ID: 2639356
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2639362
And try:

SystemParametersInfo()
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2639367
And you can use Registry.

continue
0
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.

 
LVL 9

Expert Comment

by:ShaunWilde
ID: 2639369
you may also wish to look at EnumDisplaySettings API
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2639377
Try use:

GetSystemMetrics()
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2639387
And
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2639392
Yes,ShaunWilde's comment is right.
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2639400
Sorry ShaunWilder for rashness:)
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2639403
Sorry ShaunWilder for my rashness:)
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2639429
?
Blush to get this.
Thanks
0
 
LVL 9

Expert Comment

by:ShaunWilde
ID: 2639480
ah well - to the winner the spoils
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

828 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