home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- 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
- From: toge@kekvax.kek.ac.jp (Nobu Toge)
- Subject: Re: When is a menu disabled? (enableFlags isn't all)
- Message-ID: <toge-280193103600@130.87.65.24>
- Followup-To: comp.sys.mac.programmer
- Sender: news@kekux.kek.ac.jp (USENET News System)
- Nntp-Posting-Host: 130.87.65.24
- Organization: KEK
- References: <walkerj.728102613@milo.math.scarolina.edu> <toge-270193142420@130.87.65.24> <walkerj.728144645@milo.math.scarolina.edu>
- Date: Thu, 28 Jan 1993 01:57:47 GMT
- Lines: 26
-
- In article <walkerj.728144645@milo.math.scarolina.edu>,
- walkerj@math.scarolina.edu (Jim Walker) wrote:
- >
- > dialogKind does not distinguish between modal dialogs and modeless or
- > movable modal dialogs. It appears that spareFlag is true for modal dialogs
- > and false for other dialogs, but I don't think that is documented.
- >
-
- I was using the windowKind _and_ goAwayFlag, so that I won't put up my
- modal
- dialog with my INIT code on top of another dialog window which may be
- already
- there. As far as my purpose is concerened using "if (windowKind == 2 &&
- !goAwayFlag) { } " was fine [Hope this answers the question by Kenneth J,
- Hughes kjh@cs.cmu.edu, too.]
-
- But sorry, Jim, I guess I misunderstood your original intention. If you
- want
- to distinguish movable modal dialogs as well, I don't know how it's
- supposed
- to be. And please, forget my quasi-bogus comment on enableFlags.
-
- - Nobu Toge (Nat'l Lab. for High Energy Physics)
- - toge@kekvax.kek.ac.jp or 76334.650@compuserve.com
-
- #include <StandardDisclaimers.h>
-