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

  1. Path: sparky!uunet!news.gtech.com!noc.near.net!pacvax!pacersoft.com
  2. From: duga@pacersoft.com (Brady Duga)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Movable, modal dialog...
  5. Message-ID: <1833@pacvax.UUCP>
  6. Date: 5 Jan 93 14:01:36 GMT
  7. Sender: news@pacvax.UUCP
  8. Organization: Pacer Software
  9. Lines: 11
  10. Nntp-Posting-Host: dugamac
  11. X-UserAgent: Nuntius v1.1.1d17
  12. X-XXDate: Tue, 5 Jan 93 14:10:28 GMT
  13.  
  14.  
  15.  
  16.    I'm having some trouble making a movable, modal dialog. I need it to
  17. work under both systems 6 and 7 +. To do this, I make the dialog Modeless
  18. and allow it to be dragged. If I get a mouse down event not in the dialog
  19. window, I ignore it. The problem is, mouse downs not in my applications
  20. windows allow the user to switch to other apps, including the Finder. I
  21. don't want to allow this. Users should be able to move the dialog, to
  22. uncover hidden regions, but I don't want them mucking about in the
  23. Finder. How do I stop the applications from switching, while remaining
  24. movable?
  25.