动态加载 CBitmap
我有一个想要动态加载的位图图像.但我无法加载它.
I have a Bitmap image that i want to load dynamically. But I am unable to load it.
CBitmap bmp;
bmp.LoadBitmap("c:\aeimg");
它似乎不起作用.谁能帮帮我.
it does not seem to be working. Can someone please help me.
谢谢.
推荐答案
你也可以试试这样的:
CImage image;
image.Load(_T("C:\image.png"));
CBitmap bitmap;
bitmap.Attach(image.Detach());
相关文章