"Blue Wave" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
> i try to set a transparent value to verion 2 bitmap by
> BmpSetTransparentValue() on palmos 5(zire 71) but it

The BmpSetTransparentValue() functions are crap.
Use BmpRsrcSetTransparentValue()
which you can get from the Palm Bitmap example.  The example is called
BitmapRsrcDR1.zip.  I got it off Palm's website.  Don't have the link
offhand.

BmpRsrcSetTransparentValue() works with 16-bit bitmaps.

You just do
 BmpRsrcSetFlag((BmpRsrcType*)bitmapP, kHasTransparencyFlag, 1);
 BmpRsrcSetTransparentValue((BmpRsrcType*)bitmapP, transparentValue);



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to