SelectionStyle example for C++ 5.0 and later

   //show selected items as pressed buttons
  m_LEADImageList.SetSelectionStyle(IMGLST_SELECTIONSTYLE_PRESSEDBUTTON);
   AfxMessageBox(TEXT("about to change selection style"));
   m_LEADImageList.SetSelectionStyle(IMGLST_SELECTIONSTYLE_SELECTCOLOR);
   //set to RED
   m_LEADImageList.SetSelectionColor(RGB(255, 0, 0) );