Board index » delphi » Transparent Bitmap
2003-07-28 04:02:37 PM
Hi, I am new to graphic programming and have a limited skill in this area and
require some help. I got hold of a component called TBSMorphButton and it
seems cool and was the only morphbutton available for me to use (unless
someone else can recomend others and I'd be even happier). I have been
changing his code to suite my needs and bump into something rather difficult
for my ability.
I wish to make it transparent. At first I manage to handle it by using
TBitmap.Transparent := True and it seems to have solve the case, but then in
9x, it didn't morph so nicely anymore. It flickers in black everytime it
morph. Could anyone teach me any other ways to transparent a TBitmap. I'm
thinking that maybe mask might do the trick but don't konw how to implement
it. CoolButton seems to be using this API call ImageList_DrawEx() but I'm
only using bitmap. Does anyone else have better suggestion?