home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5607 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.2 KB

  1. Path: sparky!uunet!mcsun!uknet!siesoft!athen!dhg
  2. From: dhg@sinix.UUCP (David Griffith)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: Getting a PopUpList's window
  5. Message-ID: <1992Aug14.134143.26334@sinix.UUCP>
  6. Date: 14 Aug 92 13:41:43 GMT
  7. References: <1992Aug12.002320.2320@afs.com>
  8. Organization: Primitive Software Ltd.
  9. Lines: 17
  10.  
  11. In article <1992Aug12.002320.2320@afs.com> greg@afs.com writes:
  12. >
  13. >You are doing an inherently problematic thing, because PopUpLists are NOT  
  14. >controls, like TextFields and Buttons. They inherit through the Window  
  15. >hierarchy and are actually subclasses of Menus. By definition, you cannot  
  16. >ask a Window what Window it lives on. The Matrix lives on the PopUpList,  
  17. >not the Window it appears to be on, so it's no help either. Even the cover  
  18. >button is no help, because it's not directly attached to the PopUp.
  19. >
  20.  
  21. I think NeXT should implement the concept of parent/child windows to
  22. provide a generic solution to this problem (i.e. the PopUpList window
  23. becomes the child of the main window). There would probably be many uses
  24. for such a feature besides PopUpLists. Also, closing/hiding the parent
  25. window could automatically close/hide the children.
  26.  
  27. Dave Griffiths
  28.