In my application, I am drawing some bitmaps and I want them to be transparent. I have declared a bitmapfamily like this: BITMAPFAMILY ID IDB_LINE "line2.bmp" "line16.bmp" "line8c.bmp" "line256c.bmp" TRANSPARENT 0 0 0
As I am running the palmos emulator it seems to work for color palms. But when I install on my PalmVx (4bit greyscale) (or non-color in emulator )they are not transparent for rgb = 000 as expected. Anyone that knows how to solve this? I am using this code for drawing? VoidHand h; BitmapPtr p; h = DmGet1Resource('Tbmp', bmpID); if (h != NULL) { p = (BitmapPtr ) MemHandleLock(h); WinDrawBitmap(p,x,y); MemHandleUnlock(h); DmReleaseResource(h); } If I try to modify the hasTransparency flag of the bitmapptr I get an exception..I should not do that, or ?? using sdk-4 regards //Rickard _____________________________________________________ Gratis e-mail resten av livet på www.yahoo.se/mail Busenkelt! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/