1.   // link to 32bpp arrow bitmap with alpha-channel:
  2.   // http://localhostr.com/files/ed0569/arrows.bmp
  3.   hImageList = ImageList_Create(16, 16, ILC_COLOR32, 2, 2);
  4.   if (hImageList != NULL)
  5.   {
  6.     hArrows = (HBITMAP)LoadImage(hInstance, MAKEINTRESOURCE(IDB_ARROWS), IMAGE_BITMAP, 32, 16, LR_CREATEDIBSECTION);
  7.     if (hArrows != NULL)
  8.     {
  9.       iIndex = ImageList_Add(hImageList, hArrows, NULL);
  10.       DeleteObject(hArrows);
  11.     }
  12.   }