home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!howland.reston.ans.net!bogus.sura.net!opusc!usceast!walkerj
- From: walkerj@math.scarolina.edu (Jim Walker)
- Subject: When is a menu disabled? (enableFlags isn't all)
- Message-ID: <walkerj.728102613@milo.math.scarolina.edu>
- Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
- Organization: USC Department of Computer Science
- Date: 27 Jan 93 02:43:33 GMT
- Lines: 11
-
-
- An extension I'm writing needs to be able to tell when a certain menu is
- disabled. I thought I could just look at the low bit of the enableFlags
- part of the menu record... However, it turns out that when a modal dialog
- is in front, then menus are disabled yet the enableFlags do not reflect
- that. I can't think of any good way to tell when a modal dialog is in
- front, either.
-
- --
-
- -- Jim Walker USC Dept. of Math. walkerj@math.scarolina.edu
-