home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 20086 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.4 KB  |  38 lines

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