Thanks for the link, i can't use gdi+ unfortunatly...
for the screen color depth.
few line code.
It's not as much of an issue as it was because modern displays generally
support high colors. But there are still some steps needed to ensure
colors are displayed optimally.
If your app will run on XP or later (or you don't mind including a
redistributable), the best approach might be to use GDI+, which has
richer support for stuff like this.
Otherwise, there are a lot of samples on the Web. You might start with
http://www.microsoft.com/msj/0197/mfcp1/mfcp1.aspx.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
http://www.softcircuits.com/blog/
"Nord Pierre" <Well ...> wrote in message
news:49a00462$0$31677$426a74cc@news.free.fr...
The problem is easy, i have a CBitmap and i have to display it, the
problem is that the color depth of the bitmap is not always the same as
the screen depth color, what must I do ?
Thanks