Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>This is a tip really :-)
>I was very pleased to find a solution to transparent bitmaps in listboxes.
>I couldn't find it documented, but I created a mask (.msk) file for each bitmap that I use in list boxes and - voila - the bitmap displays transparently in both the highlighted and non-highlighted bars. Just like on command buttons.
>Gotta remember to add the .msk file to the project though. (A mask file is simply a copy of the bitmap file with all the non-transparent areas coloured black)
>
>Thank you, VFP team
Hi David,
I have several bitmaps that I would like to use in my app that I couldn't because of that exact problem. How do you create a .msk file from a .bmp?
Can you do this in paint, or do you need a special graphics handler package to create it? Thanks for any information!
John.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement