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


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

Notifications and Scheduler

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe23.iad.POSTED!not-for-mail
From Sheppy <sheppy@sheppyware.net>
Newsgroups comp.sys.apple2.programmer
Message-ID <2013032520085738512-sheppy@sheppywarenet> (permalink)
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Subject Notifications and Scheduler
User-Agent Unison/2.1.10
Lines 20
NNTP-Posting-Host mcmbllaeafjlobeilcjknklegapcikac
X-Complaints-To abuse@charter.net
X-Trace ogcobacpoliggcgfkjfhpmkgnfhackpabahjlicpanfkfhmjlehgomjjfjloopcgfhkdkejcidgmfoecjmoaagdaoanhghfnbnakdemndibcklbcjghocgglpfehoegm
NNTP-Posting-Date Tue, 26 Mar 2013 00:08:57 UTC
Date Mon, 25 Mar 2013 20:08:57 -0400
X-Received-Bytes 1488
Xref csiph.com comp.sys.apple2.programmer:688

Show key headers only | 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