>          case penDownEvent:
>                  // Initialize the drawing using data from the penDown
event
>                  while(!done) {
>                          EvtGetEvent(&evt, 1);
>
>                          switch(evt.eType)
>                          {
>                                  case penMoveEvent:
>                                          // do some drawing work
>                                          break;
>
>                                  case penUpEvent:
>                                          done = true;
>                                          break;
>
>                                  default:
>                                          // Handle other events?
>                                          break;
>                          }
>                  }
>                  handled = true;
>                  break;

whatever happened to using EvtGetPen()? will make it much easier.

---
Aaron Ardiri                        [EMAIL PROTECTED]
CEO - CTO                                           +46 70 656 1143
Mobile Wizardry                      http://www.mobilewizardry.com/



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

Reply via email to