ImageList Draw method problem
Posted on 2001-07-31
I have a PictureBox on which there is an image control with an image covering the whole PictureBox.
I am using:
ImageList1.ListImages(1).Draw Picture1.hDC, posX, posY, 0
in a loop to draw multiple small images.
The problem is that when I open a new window and then close it, all the small images drawn using the imagelist draw method are erased exactly at the position the other window occupied.
Your solutions would me much appreciated.