title: Is it possible to create a CImageList with alpha blending transparency?
body: <p>I would like to knwo if it is possible to create a CImageList with alpha blending transparency.</p>
  
  <p>Sample code that creates a CImageList with ugly transparency (no alpha blending)</p>
  
  <pre><code>CGdiPlusBitmapResource m_pBitmap;
  m_pBitmap.Load(IDB_RIBBON_FILESMALL,_T("PNG"),AfxGetResourceHandle());
  
  HBITMAP hBitmap;
  m_pBitmap.m_pBitmap-&gt;GetHBITMAP(RGB(0,0,0),&amp;hBitmap );
  
  CImageList *pList=new CImageList;
  CBitmap bm;
  bm.Attach(hBitmap);
  pList-&gt;Create(16, 16, ILC_COLOR32 | ILC_MASK, 0, 4);
  pList-&gt;Add(&amp;bm, RGB(255,0,255));
  </code></pre>