Thread View: pilot.programmer.codewarrior
2 messages
2 total messages
Started by Gary Frankel
Wed, 19 Feb 2003 01:06
Progress Dialogs & Alerts
Author: Gary Frankel
Date: Wed, 19 Feb 2003 01:06
Date: Wed, 19 Feb 2003 01:06
22 lines
1957 bytes
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
Re: Progress Dialogs & Alerts
Author: Frank
Date: Wed, 19 Feb 2003 14:35
Date: Wed, 19 Feb 2003 14:35
38 lines
2483 bytes
2483 bytes
Gary, Some excellent development resources can be found at www.falch.net, particularly, IMO, the news groups at news.falch.net (lot's of answers to lots of development questions.) :-) This specific group tends to be discussions above the code level -- though there is a good chance someone here will know the answer to your alert / dodialog question. Good luck with it, Frank On 18 Feb 2003 17:06:47 -0800, gary_frankel@hotmail.com (Gary Frankel) wrote: >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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads