windows mobile - Determine screen color depth/monochrome in .NET compact framework 2.0? -


I am using .NET CF 2.0 on many devices that have different display capabilities (especially color / monochrome ) D run-time, but can not find any method that provides access to this information.

Ask for colors with the P / NINX value.

Edit 1

This gives you a color depth, but the actual "color" vs "monochrome" She is actually not provided anywhere because it is not really important at that level.

Normally you can see the depth of color and say that if it is 8-bit or less then it is likely to be very deep. There is a possibility of having a better color

Of course the OEM could use a 16-BPP driver on a monochrome display. There is no reason why you can not do this, it's just really worthless useless because there is no wire or provision for extra bits in monochrome hardware, so they are thrown on the floor.

If you really know, in fact it is color or monochrome, the only reliable way to know is to actually ask the user through any setting.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -