المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Picture control with more than 256 colors in VC6 Dialog?



C++ Programming
11-24-2009, 05:00 PM
Hi,

I am currently trying to insert a picture control with more than 256 colors in a MFC dialog in a VC 6.0 project. However, when I paste the bitmap, the IDB_BITMAP resource looks correct, but when I try to reference it in a static picture control, the color depth is decreased dramatically.

How can I display a bitmap ressource with 24 or 32 bit in a MFC 6.0 dialog?