🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pilot.programmer.codewarrior
Article #20

Progress Dialogs & Alerts

#20
From: Gary Frankel
Date: Wed, 19 Feb 2003 01:06
22 lines
1957 bytes
I am showing a Progress Dialog during a long interaction with another
device.   In the middle of this, I need to ask the user a Yes/No
question.  I am currently doing this with a FrmDoDialog launched modal
dialog.   When I return from that dialog, I get a nasty "bus error".  
IF I do a PrgStopDialog before calling my modal dialog, then I get a
"Null progress ptr" from Progress.c(161).

Now, if instead of using my own form & FrmDoDialog, I put up an alert
using FrmCustomAlert - it shows up and doesnt crash.  BUT it doesnt
return to my progress dialog either...

So,
1. What is different between FrmCustomAlert and what I do with
FrmDoDialog?
2. Why does the ProgressDialog go away when I use the
FrmCustomAlert...

Much thanx in advance - I'm sure that I just dont understand yet
exactly what happens with forms and redrawing in this situation with
modal dialogs..

-- Gary Frankel
Technical Details
Message-ID: <18321772.0302181706.433499f7@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d41,72859e6d7b40177e,start
X-Google-Attributes: gid109d41,public
X-Google-Thread: 112073,72859e6d7b40177e,start
X-Google-Attributes: gid112073,public
X-Google-Thread: 10baa0,72859e6d7b40177e,start
X-Google-Attributes: gid10baa0,public
X-Google-ArrivalTime: 2003-02-18 17:06:48 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: gary_frankel@hotmail.com (Gary Frankel)
Newsgroups: pilot.programmer.codewarrior,comp.sys.palmtops.pilot,codewarrior.palm
Subject: Progress Dialogs & Alerts
Date: 18 Feb 2003 17:06:47 -0800
Organization: http://groups.google.com/
Lines: 22
Message-ID: <18321772.0302181706.433499f7@posting.google.com>
NNTP-Posting-Host: 66.248.75.20
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1045616807 14327 127.0.0.1 (19 Feb 2003 01:06:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 19 Feb 2003 01:06:47 GMT