Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #688

Notifications and Scheduler

From Sheppy <sheppy@sheppyware.net>
Newsgroups comp.sys.apple2.programmer
Message-ID <2013032520085738512-sheppy@sheppywarenet> (permalink)
Subject Notifications and Scheduler
Date 2013-03-25 20:08 -0400

Show all headers | View raw


If I'm using Scheduler to run code that needs to run at a tricky time 
(it's invoked in response to a GS/OS notification proc), how can I 
safely display a dialog box to ask the user a question? I'm trying to 
figure out how to deal with a situation where something needs to be 
confirmed to prevent an accidental loss of data under this circumstance.

Right now, my Scheduler task is locking the GS up good and solid when I 
try to do my UI. I've tried an old fashioned Dialog Manager dialog box 
and an AlertWindow both, and both lock up.

I've tried just calling GetNextEvent to see if that's hanging things, 
and it's not the culprit.

Any thoughts?

-- 

Eric Shepherd (Sheppy)
http://www.sheppyware.net

Back to comp.sys.apple2.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Notifications and Scheduler Sheppy <sheppy@sheppyware.net> - 2013-03-25 20:08 -0400
  Re: Notifications and Scheduler Sheppy <sheppy@sheppyware.net> - 2013-03-25 20:41 -0400
    Re: Notifications and Scheduler Sheppy <sheppy@sheppyware.net> - 2013-03-31 10:05 -0400
  Re: Notifications and Scheduler Eric Shepherd <sheppy@sheppyware.net> - 2013-05-09 10:31 +0000
    Re: Notifications and Scheduler "Bill Buckels" <bbuckels@mts.net> - 2013-05-09 07:26 -0500
      Re: Notifications and Scheduler Eric Shepherd <sheppy@sheppyware.net> - 2013-05-11 11:50 +0000
        Re: Notifications and Scheduler "Bill Buckels" <bbuckels@mts.net> - 2013-05-11 20:55 -0500

csiph-web