Transparent image

Started by Anonymous, August 31, 2005, 12:43:02 PM

Previous topic - Next topic

Anonymous

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 ?.

TechSupport

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.

Anonymous


TechSupport

You can download the fix from the following link:  (842K)

http://www.planetsquires.com/files/FFengine.zip

Anonymous

That was fast
Needless to say it corrected the problem
Thank u very mach :D