At 7:25 AM +0100 8-02-00, Shannon wrote:
>5) Is there a recommended way to put a bitmap on a form and have the form
>be backwards compatible all the way to OS 2.0?

David Fedor has just released a sample that shows how to do exactly this.

PalmRez is still capable of producing tBMP objects that are compatible with
old OS releases.  Basically, as long as you don't use any features that
aren't supported in a particular OS release, the tBMP will be properly
displayed on that release.

Here's a list of features and the first OS release which supported them:

2-bpp           3.0
4-bpp           3.3
8-bpp           3.5

colortables     3.0 (ignored)
colortables     3.5 (used)

transparency    3.5

RLE compression 3.5

Scanline compression has always been supported.  1-bpp images have always
been supported.  The multiple-depths extension was done in such a way as to
be backwards compatible.  That is, you CAN include an 8-bpp, transparent,
colortabled, RLE compressed image in a family and the family can still work
on OS 2.0 -- as long as you ALSO include a 1-bpp non-colortable,
non-transparent, non-RLE compressed image as well.

                                --Bob



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to