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

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