> From: Oscar
>
> My case it:
> I want to draw some bitmap on the screen, and that I want to know user
> select that particular bitmap, and than the application will go
> something. I
> have post this problem here a week before and someone suggest me
> to use the
> gadget instead. But after I have tried a week, I still fail. For my
> understand, does it mean I have to creat a gadget and bitmap at the same
> position so that when the user tap on the bitmap, the gadget can receive
> this event so that I can so something? Please give me help!
>

Oscar,

You should take a look at the ColorDeal sample source code by David Fedor
(at http://oasis.palm.com/dev/kb/samples/1673.cfm ).  It shows how to put
bitmaps on a gadget and test for user taps on the gadget.  If I remember
correctly, David used one gadget for several bitmaps.  However, you can use
a similar technique for 1 bitmap per gadget, depending on your exact needs.



-- 
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