PaintDither (ILEADRasterImgList) example for C++ 5.0 and later

   //set the control to use error diffusion
long IMGLST_PAINTDITHER_DIFFUSION;
   m_LEADImageList.SetPaintDither(IMGLST_PAINTDITHER_DIFFUSION);