Is your ReadSerial routine allowing OS messages to be processed?

----- Original Message -----
From: "Deveau, Darrin" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Wednesday, November 08, 2000 8:50 AM
Subject: Serial question


> Hi,
>
> I am working on an application which receives data through the serial
port.
>
> I want to be able to stop transmission by tapping the screen.
>
> The following is a code snippet from the form which I load to begin
> receiveing the serial data.
>
> switch (event->eType)
> {
> case frmOpenEvent:
>
>     OpenSerial();
>     Read Serial();
>     etc...
>
> Case ctLSelectEvent
>
> etc.....
>
> I added the following to the Read Serial
>
> if(event->eType == penDownEvent)
> {
>    if (event->screenY<80)
>    {
>      DrawFlags();
>    }
>    else
>    {
>      break;
>    }
> }
>
> The break or DrawFlags() will not happen unless I actually turn off the
> transmitter to terminate communication upon which I receive an error as
> expected.
>
> Any Suggestions.
>
> Thanks,
> Darrin
>
>
> --
> 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 ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to