PleaseWait form

2003-07-03 Thread George VS
Hi group,

I wanted to make a simple PleaseWait form.
This is the decision I ended:

 FormPtr formP = FrmInitForm(PleaseWaitForm);
 FrmSetActiveForm(formP);
 FrmDrawForm(formP);

// not so lengthy process

 FrmReturnToForm(0);

The problem is that pen events (and others) are buffered and application
gets mad after form is closed if the user had become impatient

Any ideas?

Thanks!
George VS ([EMAIL PROTECTED])




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


Re: PleaseWait form

2003-07-03 Thread Rodolphe Bréjaude
you can deletes all pen and key message sin the queue before returning
uses sysfluspenqueue() or something like that

- Original Message -
From: "George VS" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 4:39 PM
Subject: PleaseWait form


> Hi group,
>
> I wanted to make a simple PleaseWait form.
> This is the decision I ended:
>
>  FormPtr formP = FrmInitForm(PleaseWaitForm);
>  FrmSetActiveForm(formP);
>  FrmDrawForm(formP);
>
> // not so lengthy process
>
>  FrmReturnToForm(0);
>
> The problem is that pen events (and others) are buffered and application
> gets mad after form is closed if the user had become impatient
>
> Any ideas?
>
> Thanks!
> George VS ([EMAIL PROTECTED])
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


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


Re: PleaseWait form

2003-07-04 Thread George VS
Hi group,

Unfortunately EvtFlushPenQueue() does not help (try tapping on menu and
watch menu pops after FrmReturnToForm(0))

What I did on first shot looks like
while (EvtEventAvail()) EvtGetEvent(&event, evtNoWait);
but this means I cannot produce "result" (not "progress"!) events in the
"Please Wait" operation

George VS ([EMAIL PROTECTED])


"Rodolphe Bréjaude" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> you can deletes all pen and key message sin the queue before returning
> uses sysfluspenqueue() or something like that
>
> - Original Message -
> From: "George VS" <[EMAIL PROTECTED]>
> Newsgroups: palm-dev-forum
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Thursday, July 03, 2003 4:39 PM
> Subject: PleaseWait form
>
>
> > Hi group,
> >
> > I wanted to make a simple PleaseWait form.
> > This is the decision I ended:
> >
> >  FormPtr formP = FrmInitForm(PleaseWaitForm);
> >  FrmSetActiveForm(formP);
> >  FrmDrawForm(formP);
> >
> > // not so lengthy process
> >
> >  FrmReturnToForm(0);
> >
> > The problem is that pen events (and others) are buffered and application
> > gets mad after form is closed if the user had become impatient
> >
> > Any ideas?
> >
> > Thanks!
> > George VS ([EMAIL PROTECTED])
> >
> >
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
>
>
>



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