Using the progress manager is the right way to go - definitely.

But if anyone wants a quick solution to a situation like this, just use
Aaron's FIX#2: Put these lines in whenever you want to throw away your pen
events (best placed, as mentioned by Aaron, in the beginning of a for loop).

do
{
EvtGetEvent(&evt, 0);
} while(evt.eType != nilEvent);

That will throw away all the pen and key events that occur during your
operation.

Thanks guys for helping a junior plumber out :)

2008/1/31, Lionscribe <[EMAIL PROTECTED]>:
>
> You shouldn't be using FrmDispatchEvent.
> That bypasses the que, & shouldn't be used by other than the
> eventHandlser.
> Use EvtEnqueEvent! That should que it after the pen events.
> Lionscribe
>
> Jonathan Carse wrote:
> >EventType evt;
> >evt.eType = frmCloseEvent;
> >evt.data.frmClose.formId = FrmGetFormId(tmp);
> >FrmDispatchEvent(&evt); // Dispatch close event. The should be handled by
> >the handler after all the pendowns, but somehow doesn't
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/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