I'm writing this function based on OS 3.1; and after testing many ways in
capturing the bitmap I came into conclusion that the problem is before even
I draw anything. Before doing anything else, I clicked on the button that is
supposed to cause the redrawing of what I have drawn, which is nothing, in
the gadget; and it draws a strange shape.
Due to this I thought already there must have been something in the gadget
that must be initialized to NULL. BUT the question is What and where is it?
Flora
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, September 26, 2000 9:50 AM
> To: Palm Developer Forum
> Subject: Re: Drawing on gadget
>
>
>
> certainly gadgets are different with the 3.5 OS (the old gadget was just a
> set
> of bounds and you can mimic it with a RectangleType checking to see if the
> taps
> fall into it yourself... while the new gadget is a UI object such that the
> system checks to see if the tap is in the gadget and then looks for the
> gadget's
> call back function) , but I am not sure if the problem is with the gadget
> or
> with the way you are converting (or capturing) the users penstrokes in the
> gadget to a bitmap... If you have not already looked at signature++ in the
> knowledgebase, do so. Of course, that is a pre 3.5 piece of sample code
> and
> might take some tweaking to make it work in the 3.5 SDK (I will have to
> try it
> out myself... but take into account the screen depth -- you could just set
> it to
> 1. )
>
> -Ezekiel Sanborn de Asis
>
>
>
>
> --
> 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/