At 4:54 AM +0200 08/6/00, Lee H S wrote:
>I encountered the same problem (ie. bitmap doesn't appear) when I ran the
>mail app sample on PalmV wih OS 3.1. However, when I ran it on Palm3c with
>OS 3.5, it works ! Is this another OS 3.1 bug ?
Sort of.
Graphic Buttons *only* work on PalmOS 3.5 and later. They don't even exist on earlier
releases. If you try to open a form that contains them, the OS interprets the bitmap
IDs as a pointer to a string, and tries to follow the pointer. Depending on your IDs,
you could get a bus error or you could get random memory junk.
Don't use new APIs on old OS's!
--Bob
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/