[lazarus] TBitmap transparency

Marc Weustink weus at quicknet.nl
Tue Mar 21 16:22:35 EST 2000

At 14:31 21-03-2000 -0600, Shane Miller wrote:
>When creating a pixmap you send it the address of a tbtimap where it can 
>put the transparency mask.  Currently we send nil but then we can't use 
>Can we put this in the PgdiObject as a GDIBitMapMaskObject?  That way I 
>think I can use it in the TBitbtn's.  Otherwise when the mouse moves over 
>the button and it changes color, you can see the border of the glyph.
>Marc, your thoughts?

Not sure about GDIBitMapMaskObject.  How do you want to select the mask. I 
don't see it as a part of GDI.
Looking at the functionality it's more like an Icon. CreateIconIndirect for 
instance requires a bitmap and a mask.
I think this more what you want. I'll look after that tonight


More information about the Lazarus mailing list