Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uxh.cso.uiuc.edu!johnsone From: johnsone@uxh.cso.uiuc.edu (Erik A. Johnson) Newsgroups: comp.sys.mac.programmer Subject: Re: how to handle a mouseDown in another program's windows? Keywords: mouse down Message-ID: <1990Nov29.081233.12298@ux1.cso.uiuc.edu> Date: 29 Nov 90 08:12:33 GMT References: <1990Nov27.105828.1396@ux1.cso.uiuc.edu> Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 23 Well with some help I figured out why I couldn't get my Mac to switch to another application through mouseDown-ing in that applications window while my application is frontmost. "Currently, MultiFinder will not suspend your application when the frontmost window is a modal dialog box with a window of type dBoxProc ..." (Programmer's Guide to MultiFinder, (c) 1988, Apple; p. 3-11) (The dBoxProc window is the standard double-lined dialog window.) I found that using a modeless dialog box of type dBoxProc also (though after re-reading the stuff about modeless dialogs in IM I, I think I'm using it contrary to standard Apple guidelines -- OH NO! :-) ). Thanks to all who responded, especially Steve Dorner at UIUC for pointing out the dBoxProc stuff, and to Phil Shapiro at Symantec for pointing me to the Programmer's Guide to MF. Erik A. Johnson, Graduate Student \ Internet: johnsone@uxh.cso.uiuc.edu Aeronautical & Astronautical Engineering \ University of Illinois at Urbana-Champaign \ AmericaOnline: ErikAJ