home *** CD-ROM | disk | FTP | other *** search
- 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
- From: d88-jwa@dront.nada.kth.se (Jon Wtte)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Movable, modal dialog...
- Message-ID: <1993Jan5.154619.10301@kth.se>
- Date: 5 Jan 93 15:46:19 GMT
- References: <1833@pacvax.UUCP>
- Sender: usenet@kth.se (Usenet)
- Organization: Royal Institute of Technology, Stockholm, Sweden
- Lines: 28
- Nntp-Posting-Host: dront.nada.kth.se
-
- In <1833@pacvax.UUCP> duga@pacersoft.com (Brady Duga) writes:
-
- >window, I ignore it. The problem is, mouse downs not in my applications
- >windows allow the user to switch to other apps, including the Finder. I
- >don't want to allow this. Users should be able to move the dialog, to
-
- So you don't want a movable modal box. The best thing with movable
- modals is that you can switch applications, and if there's no REALLY
- GOOD reason why I couldn't, I should be able to.
-
- >uncover hidden regions, but I don't want them mucking about in the
- >Finder. How do I stop the applications from switching, while remaining
- >movable?
-
- By calling ModalDialog. You will have to pass a filter that takes
- care of MouseDowns and updates for other windows, but that's easy.
- And yes, calling ModalDialog with a "plain" window as thePort is
- no problem.
-
- Cheers,
-
- / h+
-
- --
- -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
- "It was, in fact, cool as all get-out. Fortunately it was a little
- too late (historically speaking) to be groovy."
- -- Dennis Pelton
-