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 ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to