home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.gtech.com!noc.near.net!pacvax!pacersoft.com
- From: duga@pacersoft.com (Brady Duga)
- Newsgroups: comp.sys.mac.programmer
- Subject: Movable, modal dialog...
- Message-ID: <1833@pacvax.UUCP>
- Date: 5 Jan 93 14:01:36 GMT
- Sender: news@pacvax.UUCP
- Organization: Pacer Software
- Lines: 11
- Nntp-Posting-Host: dugamac
- X-UserAgent: Nuntius v1.1.1d17
- X-XXDate: Tue, 5 Jan 93 14:10:28 GMT
-
-
-
- I'm having some trouble making a movable, modal dialog. I need it to
- work under both systems 6 and 7 +. To do this, I make the dialog Modeless
- and allow it to be dragged. If I get a mouse down event not in the dialog
- 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
- 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?
-