if(pVert)
{
CImage img;
img.Load(_T("d:/main.jpg"));
const wchar_t* strImage = L"restype=\'背景\' xtiled=\'true\' ytiled=\'true\'";
m_PaintManager.AddImage(strImage, (HBITMAP)img, img.GetWidth(), img.GetHeight(), false);
const DuiLib::TImageInfo* pInfo = m_PaintManager.GetImage(strImage);
img.Detach();
pVert->SetBkImage(strImage);
}
从内存中加载图片
最新推荐文章于 2021-06-04 08:05:00 发布