PDA

Click to See Complete Forum and Search --> : Flipping images?


Mateus
May 16th, 2001, 04:12 PM
I am trying to create a button that flips an image, I can flip it one way using paintpicture but can not work out now to flip it back again.

It must be easy?

Help!

jim mcnamara
May 16th, 2001, 04:53 PM
Read about BitBlt here. (http://www.vbapi.com/ref/b/bitblt.html)

Megatron
May 16th, 2001, 06:29 PM
The same method will flip it back.

PaintPicture Picture1.Picture, Picture1.ScaleWidth, 0, Picture1.ScaleWidth * -1, Picture1.ScaleHeight