This code is in C#, but I am sure that it can easily be translated. This is code that is contained in a screen saver presentation that paints 3 random images with a random quote specified in a particular directory: public void DrawRandomImage(Graphics g, Rectangle rect) { if (usedIndexes.Count > currentImageIndex && bitmaps.Count >0) { if (showEffects) ControlPaint.DrawImageDisabled(g, bitmaps[usedIndexes[currentImageIndex]], rect.X + 5, rect.Y + 5, Color.Transparent); g.DrawImage(bitmaps[usedIndexes[currentImageIndex]], rect); currentImageIndex++; if (currentImageIndex == 3) currentImageIndex = 0; } else g.FillRectangle(new SolidBrush(Color.Black), rect); } The variable bitmaps is an array of bitmaps that were read in from a specified directory. Basically replace the entire array with one image if you so choose. The two key parts of this code is: ControlPaint.DrawImageDisabled() which will draw a grayscale image which then can be offsetted from the image drawn with the g.DrawImage. If you need further explanation just ask. This explanation may seem a bit jumbled.
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]