home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22293 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!sdd.hp.com!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!news.u-tokyo.ac.jp!s.u-tokyo!kekux!NewsWatcher!user
  3. From: toge@kekvax.kek.ac.jp (Nobu Toge)
  4. Subject: Re: When is a menu disabled? (enableFlags isn't all)
  5. Message-ID: <toge-280193103600@130.87.65.24>
  6. Followup-To: comp.sys.mac.programmer
  7. Sender: news@kekux.kek.ac.jp (USENET News System)
  8. Nntp-Posting-Host: 130.87.65.24
  9. Organization: KEK
  10. References: <walkerj.728102613@milo.math.scarolina.edu> <toge-270193142420@130.87.65.24> <walkerj.728144645@milo.math.scarolina.edu>
  11. Date: Thu, 28 Jan 1993 01:57:47 GMT
  12. Lines: 26
  13.  
  14. In article <walkerj.728144645@milo.math.scarolina.edu>,
  15. walkerj@math.scarolina.edu (Jim Walker) wrote:
  16. > dialogKind does not distinguish between modal dialogs and modeless or
  17. > movable modal dialogs.  It appears that spareFlag is true for modal dialogs
  18. > and false for other dialogs, but I don't think that is documented.
  19.  
  20. I was using the windowKind _and_ goAwayFlag, so that I won't put up my
  21. modal 
  22. dialog with my INIT code on top of another dialog window which may be
  23. already 
  24. there.  As far as my purpose is concerened using "if (windowKind == 2 &&
  25. !goAwayFlag) { } " was fine [Hope this answers the question by Kenneth J,
  26. Hughes kjh@cs.cmu.edu, too.]
  27.  
  28. But sorry, Jim, I guess I misunderstood your original intention. If you
  29. want
  30. to distinguish movable modal dialogs as well, I don't know how it's
  31. supposed
  32. to be. And please, forget my quasi-bogus comment on enableFlags.
  33.  
  34. - Nobu Toge (Nat'l Lab. for High Energy Physics)
  35. - toge@kekvax.kek.ac.jp or 76334.650@compuserve.com
  36.  
  37. #include <StandardDisclaimers.h>
  38.