SelectionStyle example for Visual Basic

   'show selected items as pressed buttons
   LEADImgList1.SelectionStyle = IMGLST_SELECTIONSTYLE_PRESSEDBUTTON
   MsgBox "about to change selection style"
   LEADImgList1.SelectionStyle = IMGLST_SELECTIONSTYLE_SELECTCOLOR
   LEADImgList1.SelectionColor = RGB(255, 0, 0) 'set to RED