On Wed, 21 Nov 2001, Ravindra wrote:

> Now problem is user can any time stop display or may be read another
> string by tapping buttons provided . 
> 
> But since I am using SysTaskDelay() method processor will stay in sleep
> mode that's why it won't respond for any of the event until whole sting
> is completely read.  So can any body tell me how to do this . 

I don't really have a code snippet to send, but I can give an idea I'm
getting just from reading your email.  Basically, use the nilEvent to do
your display in.  To time it correctly you can use a combination of
SysTicksPerSecond() and TimeGetTicks().  It wont be exact as far as the
timing goes, but it will allow for user actions during the delay.

----------------------------------------------------------------------
Brian Smith  //   [EMAIL PROTECTED]   //  http://www.arthurian.nu/
Software Developer  //  Gamer  //  Webmaster  //  System Administrator
"For all you parents offended by Jay and Silent Bob, I've got three
 words:  Cheech and Chong." -- Richard Roeper



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