Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!sics.se!ollef From: ollef@sics.se (Olle Furberg) Newsgroups: comp.sys.mac.programmer Subject: Re: AddResMenu screwing up the WindowMgr? Message-ID: <1991Jan21.005100.7093@sics.se> Date: 21 Jan 91 00:51:00 GMT References: <1991Jan20.161803.14751@sics.se> Organization: Swedish Institute of Computer Science, Kista Lines: 22 In <1991Jan20.161803.14751@sics.se> I wrote: >When I click on a window in the background (belonging to another application) >nothing happens!, my DLOG-window is still sitting on the top. > If I remove the call of AddResMenu(), and leave the Apple-menu without any >DAs,it works fine: whenever I click in a Finder-window, my program is being >put away and the Finder comes in front. After reading TN 180 about the MultiFinder I've found that this switching works through a mouseDown-event in the menubar. When I encountered the problem I hadn't implemented any OpenDeskAcc()-stuff. But I still can't understand why it *did* work, when I didn't call AddResMenu() with 'DRVR' (There were no problems when I called it with other rsrc-types (e.g. 'FONT').) Moral: Read the TechNotes, esp. #180. /Olle