Kedaman: I didn't leave AutoRedraw out. In my test PaintPicture where about 8 times faster then StretchBlt.
But then again this was just ONE test which i run from the VB environment. The time difference might alter if i had compiled the program.

And I agree with you on the fact that if PaintPicture calles StretchBlt it would have run slower then calling StretchBlt directly. Just the fact that PaintPicture also have added some error checking as well would have maid the procedure slower.

Illuminator: Thank you for suggestion using SetStretchBltMode. Now at least I get the image the way I want using StretchBlt, but since PaintPicture is noticeably faster I will go with that until I find any API that runs faster.

To finish this up; Megatron, Kedaman and Illuminator: Thank you all guys for taking your time disscusing and testing my little problem. This is actually the first time I use this forum to ASK a question.

Once again thank you all very much.

Best regards

[Edited by Joacim Andersson on 08-10-2000 at 05:31 AM]