更新时间:2023-11-10 13:41:34
您可能会怎么做?
如果这种方法不好:
CImage图片;
image.Load(_T("C:\\ myimage.png"));
CBitmap位图;
bitmap.Attach(image.Detach());
因此,请尝试以下方式:
用于在对话框中动态显示图片的MFC图片控件 [ ^ ]
问候,
Alex.
What would you probably do?
If this way is bad :
CImage image;
image.Load(_T("C:\\myimage.png"));
CBitmap bitmap;
bitmap.Attach(image.Detach());
So, try following way:
An MFC picture control to dynamically show pictures in a dialog[^]
Regards,
Alex.
显示一些代码,或者是什么错误?支持压缩的png arent,因此您还需要其他功能.
我建议本文解决图像问题:
http://www.codeproject.com/Articles/1300/CxImage
Show some code or what is the error? Compressed png arent supported, so you need something else.
I recommand this article for image issues:
http://www.codeproject.com/Articles/1300/CxImage