home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!mkent
- From: mkent@netcom.com (Marty Kent)
- Subject: Simple (I hope) Dialog Window Question
- Message-ID: <1992Dec19.191228.15289@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Date: Sat, 19 Dec 1992 19:12:28 GMT
- Lines: 28
-
- I have a sequence of user interactions I want to do as dialogs.
- The unusual thing, though, is that I want to just keep a single
- window open, and replace the dialog items at the end of each
- interaction, rather than close the dialog window itself and open
- a new window for the next dialog. This way you don't see windows
- repeatedly disappearing and reappearing.
-
- I've tried opening the first dialog in the standard way, with
- GetNewDialog, then passing the dialog's WindowPtr as the
- dStorage arg to a subsequent call of GetNewDialog, hoping I could
- then just DrawDialog and get the effect I want. But my program
- just hung on the second call to GetNewDialog.
-
- Can anyone suggest a way to do a sequence of dialogs all in a single
- open window? (Or give me some compelling reason not to do this in the
- first place?)
-
- Thanks much...
-
-
- --
- Marty Kent mkent@netcom.com
- Sixth Sense R & D 510 848 6221
- 2500 Durant St. #405
- Berkeley Ca 94704
-
- Kent's Heuristic: Look for it first where you'd most like to find it.
- "You're soaking in it..." - Madge
-