On Mon, 17 Jun 2002 14:33:50 -0500, "Geoff Thompson"
<[EMAIL PROTECTED]> wrote:

>
>I am using CW 8 (and Constructor 1.6), and am working on an app that has
>graphic buttons, and needs to run on OS 3.1 or above...
>
>I have reviewed the Palm documentation, and it appears that bitmap families
>and graphic buttons should work fine on 3.1, as long as compression and
>transparency are not used.  However, my graphics (form bitmaps or graphic
>buttons) are not appearing correctly on 3.1 devices.
>
>I must be missing a compatibility issue.  Any ideas/help would be
>appreciated!
>
>Geoff Thompson
>
>
>
>
>
>
>

Geoff,

I have added button support for pre PalmOS3.5 and post PalmOS3.5 in
the following way:

In Constructor,  I added both a graphical button (for post 3.5) and
button/bitmap (pre 3.5) for each "button" I wanted to display. I then
set all the graphical buttons and button/bitmaps to unusable.

I then added the logic to my frmOpenEvent code to call FrmShowObject
to the correct set of buttons or button/bitmaps depending on what OS
the application is running on.

Finally I added both button IDs to the code that handles
ctlSelectEvent.

Email me if you'd like to see some code snippetts.

Michael
[EMAIL PROTECTED]              

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

Reply via email to