<[EMAIL PROTECTED]> wrote in message news:42661@palm-dev-forum...
>
> I want to use graphical buttons, but I need compatibility with OS 3.0 and
> 3.1.  Is there an elegant work around for this, or do I need to write my
own
> graphical button gadget instead?

The way to do graphical buttons pre-3.5 is

1) Use a form bitmap for your graphic
2) Put a button with no text and no border as an overlay over your graphic

The button highlight code will invert the graphic.  PalmOS 3.5 and later
know about this trick, so they will also do an invert (which may look funny
on a color application) rather than a redraw with the highlight colors that
is normally done.




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

Reply via email to