Solved

Screen color resolution

Posted on 2000-03-21
11
218 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

786 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