Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!banana!mips!apple!well!gurgle From: gurgle@well.sf.ca.us (Pete Gontier) Newsgroups: comp.sys.mac.programmer Subject: Re: how does modal dialog disable suspend/resume/activate events? Message-ID: <25757@well.sf.ca.us> Date: 28 Jun 91 16:01:56 GMT References: <10883@pitt.UUCP> Distribution: usa Organization: cellular Lines: 33 andre@cs.pitt.edu writes: >how does the dialog manager disable suspend, resume, and activate >events while doing a modal dialog? It doesn't. The window manager and event manager conspire to make this happen. All you need to do is use a window with the same procID as the standard modal dialog and you won't be switched out. I'm not sure what you hope to achieve by disabling activate events. If you don't like them, you can ignore them. If you're worried about what happens to title bars and other parts of windows when they change position in the window list, that's managed by the window manager. Activate events are a symptom of that, not the cause. Boy, I hate vi. > b) should i have ignored tn #203 > because noone has any trouble using the dialog manager to do > bizarre tricks? I don't have any problems at all with the dialog manager. It's not as snappy in the performance department as window manager/control manager code, but it's not that much of a big deal. I think DTS issued that tech note because the dialog manager is hard to support. I think they're going to be faced with much more dialog manager email now that balloon help supports the dialog manager. In any case, it's a qualitative judgement. The dialog manager is not God, and it just won't do some things. On the other hand, it can save you a lot of time. I really hate vi. -- Pete Gontier, gurgle@well.sf.ca.us Software Imagineer, Kiwi Software, Inc.