m_imglist.Create(15, 21, ILC_MASK|ILC_COLOR32,1,5);//创建位图链 每个位图15像素
CBitmap bm;
bm.LoadBitmap(IDB_NUM);
m_imglist.Add(&bm,RGB(0,0,0));
CDC * pDC = m_bmp.GetDC();
/* m_imglist.DrawIndirect(pDC,1,CPoint(0,0),CSize(80,17),CPoint( 0 , 0 ) ,
ILD_TRANSPARENT//ILD_NORMAL
,SRCCOPY,CLR_NONE,CLR_NONE );*/
m_imglist.Draw(pDC,1,CPoint(0,0),ILD_TRANSPARENT);
m_bmp.ReleaseDC(pDC);
CBitmap bm;
bm.LoadBitmap(IDB_NUM);
m_imglist.Add(&bm,RGB(0,0,0));
CDC * pDC = m_bmp.GetDC();
/* m_imglist.DrawIndirect(pDC,1,CPoint(0,0),CSize(80,17),CPoint( 0 , 0 ) ,
ILD_TRANSPARENT//ILD_NORMAL
,SRCCOPY,CLR_NONE,CLR_NONE );*/
m_imglist.Draw(pDC,1,CPoint(0,0),ILD_TRANSPARENT);
m_bmp.ReleaseDC(pDC);