Oscar -

If you are only targeting OS 3.5, you can use graphic buttons, which
display a bitmap instead of text. In the button resource, specify the ID
of the bitmap resource to use.

If you need it to work on OS earlie than 3.5, you have a few options.

1)place a button, with no text, directly on top of the bitmap

2)trap pendown, penmove and penup events, and then use an if statement, to
check whether the pen is down inside of a pre-defined rect, which
cooresponds to the bitmap rect.


On Sat, 10 Feb 2001, Oscar wrote:

> Dear all,
> 
> My application let users select some application predefined bitmap (which
> has been saved as resources)and place the bitmap on any position on the
> form. My problem is, after my application drew the bitmap on the form, if I
> want to know the user select the bitmap? ( Just like it I have a button, I
> can use CtrlSelectEvent to capture user's interaction on the button, but for
> the bitmap, how can I do it?)
> 
> Thank a lot for helping me first,
> Oscar
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/
> 



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