"Fawcett, Mitch" wrote:
> 
>         I think I want a "dumb" form because I might have several different
> processes in different parts of my program that are long running and I want
> to the progress form to be able to be used by any of them without changing
> it's underlying code.  That's why I was shifting most of the processing out
> of the event handler for the popup form.  My goal was to make it generic in
> the sense that any long running function block could pop it up and pass
> progress messages to it.

   You're pretty picky...  ;)

   Well, the idea is the same, just check every so often with
EvtGetEvent and see if there's a ctlSelectEvent with your cancel
button id waiting for you.  If not, put the event back on the
queue with EvtAddEventToQueue.

Regards,
Daniel.

Reply via email to