123456

 

2011年12月14日

加载图片资源的方法

摘要: BOOL CImageManager::LoadResImage(UINT nResID, LPCTSTR lpType, Bitmap *&lpImage, HINSTANCE hInstance){ lpImage = NULL; hInstance = (NULL == hInstance) ? ::AfxGetResourceHandle() : hInstance; // If bmp,use system load. if (RT_BITMAP == lpType) { HBITMAP hBmp = ::LoadBitmap(h... 阅读全文

posted @ 2011-12-14 17:18 hgy413 阅读(211) 评论(0) 推荐(0) 编辑

导航