>
I did not know that you can also make BMPs transparent by painting those areas as white.>
>You can also set background transparency using a monochrome .msk file included in your project with the same filename and in the same folder as the bmp. This allows you to retain opacity for some or all of the white in your bmp. It's not well covered in VFP Help, but there's quite good info if you google "vfp msk".
Hi John
Using a MSK will work but the current easier way is to make the background RGB(255,255,255) to make it transparent and to make the "WHITE" parts of your image that you want to remain white as RGB(254,254,254) which is indistinguishable from white to the human eye, but not to VFP.
Cesar has created a program that, using GDI+X will do this automatically for all your images so you don't need a .MSK file in addition.
http://weblogs.foxite.com/vfpimaging/archive/2008/12/15/7441.aspxBErnard