Yes, I think I understand more now... but I have a bit more question: I know
where my bitmap is, but the bitmap is an area, not just a point, and the Pen
event just return a point with X Y cord only. So, how do it know the pen
event is within the whole bitmap area?

Oscar

----- Original Message -----
From: "Steve Achelis" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Saturday, February 10, 2001 1:48 AM
Subject: Re: Urgent! Bitmap control problem.


> As was said earlier, capture penDownEvents events.  You know where the
> bitmap is, so you can look for a pen up event on your bitmap.  If this
> doesn't make sense, then you've got some more learning to do before you
are
> ready for this.
>
> Steve
>
> "Oscar" <[EMAIL PROTECTED]> wrote in message ne
> ws:[EMAIL PROTECTED]
> >
> > May be I haven't state my question clearly in the previous mail, may be
I
> am
> > stupid, but I have already tried to find out the solution by myself for
> not
> > a short time, so pls help.
> >
> > My problems is, for example, like a game, lots of graphics(bitmap) on
the
> > form, and then I should which bitmap the user is being selected, then
what
> > should I do? Also, the bitmap may have to create by the user at
> runtime,...
> > for example,...like the MS powerpoint, we can select some graphics and
put
> > it on the slide, so after the user select the application predefined
> > graphic, I draw it on the form. But afterwards, if the user want to
select
> > that bitmap(which have been drawn on the form), how can I know it?
> >
> > Thank again for helping me,
> > Oscar
> >
> >
> > ----- Original Message -----
> > From: "Philip Sheard" <[EMAIL PROTECTED]>
> > To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> > Sent: Saturday, February 10, 2001 12:25 AM
> > Subject: Re: Urgent! Bitmap control problem.
> >
> >
> > > > 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
> > >
> > > I am not going to help you. If this problem were really urgent, you
> would
> > > consult the PalmOS documentation, where the solution is readily found.
> > >
> > >
> > > --
> > > 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/


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