SelectAll (ImageList Control) example for C++ Builder

/*select all items*/

LEADImgList1->SelectAll (True);

ShowMessage("wait");

/*deselect allitems*/

LEADImgList1->SelectAll (False);