PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Anonymous on August 31, 2005, 12:43:02 PM

Title: Transparent image
Post by: Anonymous on August 31, 2005, 12:43:02 PM
I placed a picture control on a form and associated a bitmap to the picture control (a bmp file). In the control style I selected LR_LOADMAP3DCOLORS and LR_LOADTRANSPARENT. The image background is RGB 192,192,192. However, the displayed image is not transparent. What's wrong ?.
Title: Transparent image
Post by: TechSupport on August 31, 2005, 01:56:50 PM
Hi Gafny,

I just looked into this and there seems to be a problem in the FireFly generated code. It is not generating the values for the LR_LOADMAP3DCOLORS and LR_LOADTRANSPARENT. It is always generating a zero (for both bitmaps and icons).


FF_hPicture = LoadImage(App.hInstance, FF_zTempString, %IMAGE_BITMAP, FF_RECT.nRight, FF_RECT.nBottom, 0)


I will correct the code generator and post a fix for you.
Title: Transparent image
Post by: Anonymous on August 31, 2005, 02:20:11 PM
Thank you
Title: Transparent image
Post by: TechSupport on August 31, 2005, 02:50:54 PM
You can download the fix from the following link:  (842K)

http://www.planetsquires.com/files/FFengine.zip
Title: Wow
Post by: Anonymous on August 31, 2005, 03:33:57 PM
That was fast
Needless to say it corrected the problem
Thank u very mach :D