home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20685 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.5 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!gatech!enterpoop.mit.edu!eru.mt.luth.se!kth.se!dront.nada.kth.se!d88-jwa
  2. From: d88-jwa@dront.nada.kth.se (Jon Wtte)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Movable, modal dialog...
  5. Message-ID: <1993Jan5.154619.10301@kth.se>
  6. Date: 5 Jan 93 15:46:19 GMT
  7. References: <1833@pacvax.UUCP>
  8. Sender: usenet@kth.se (Usenet)
  9. Organization: Royal Institute of Technology, Stockholm, Sweden
  10. Lines: 28
  11. Nntp-Posting-Host: dront.nada.kth.se
  12.  
  13. In <1833@pacvax.UUCP> duga@pacersoft.com (Brady Duga) writes:
  14.  
  15. >window, I ignore it. The problem is, mouse downs not in my applications
  16. >windows allow the user to switch to other apps, including the Finder. I
  17. >don't want to allow this. Users should be able to move the dialog, to
  18.  
  19. So you don't want a movable modal box. The best thing with movable
  20. modals is that you can switch applications, and if there's no REALLY
  21. GOOD reason why I couldn't, I should be able to.
  22.  
  23. >uncover hidden regions, but I don't want them mucking about in the
  24. >Finder. How do I stop the applications from switching, while remaining
  25. >movable?
  26.  
  27. By calling ModalDialog. You will have to pass a filter that takes
  28. care of MouseDowns and updates for other windows, but that's easy.
  29. And yes, calling ModalDialog with a "plain" window as thePort is
  30. no problem.
  31.  
  32. Cheers,
  33.  
  34.                         / h+
  35.  
  36. -- 
  37.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  38.   "It was, in fact, cool as all get-out.  Fortunately it was a little
  39.    too late (historically speaking) to be groovy."
  40.                      -- Dennis Pelton
  41.