If you play with the CopyMode property, part of TCanvas, you should be able
to achieve what you want - well according to the help anyway!

The really horrible and ugly option would be to use scanline and run thru
the bitmap and replace pink with whatever its going over.


Nahum

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Luke Pascoe
> Sent: Friday, December 01, 2000 15:31
> To: Multiple recipients of list delphi
> Subject: [DUG]: Bitmap transparency
>
>
> An easy one for a friday afternoon...
>
> I've got 4 little bitmaps, each with a transparent reqion defined by the
> color pink.
> I also have a string grid which I draw manually. I want to copy
> these little
> bitmaps to certian cells at will, which is easy with copyrect
> _except_ that
> I don't know how to make the transparent bits transparent.
>
> Any guru's out there still functioning mentally or has everyone (including
> myself) shut down for the weekend already?
>
> --
>
> Luke Pascoe
> Programming
> Ihug
> [EMAIL PROTECTED]
> 0800 GET IHUG ext.9764
>
> Give a man a fish and you feed him for a day.
> Teach him to use the Net and he won't bother you for weeks.
>
> --
>
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to