Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!oliveb!amiga!jimm From: jimm@amiga.UUCP (Jim Mackraz) Newsgroups: comp.sys.amiga.tech Subject: Re: inputs from many windows. Keywords: windows, messages, IDCMP, stupid! Message-ID: <3290@amiga.UUCP> Date: 29 Jan 89 20:25:32 GMT References: <1918@pur-phy> <3358@sugar.uu.net> Reply-To: jimm@cloyd.UUCP (Jim Mackraz) Distribution: comp.sys.amiga.tech Organization: Commodore-Amiga Inc, Los Gatos CA Lines: 22 In article <3358@sugar.uu.net> peter@sugar.uu.net (Peter da Silva) writes: )Browser 1.4 and 1.5 had one IDCMP shared between all the windows, and used )CLoseWindowSafely(). Unfortunately, it wasn't safe. So 1.6 has gone back to )one IDCMP per window. Lots and lots of programs use a single port for multiple windows, using CloseWindowSafely() and the protocol described in the V1.2 Intuition Enhancer document. There is a field in the IntuiMessage to identify the window to which the message pertains. If there are problems, let them be known. If you think the problems might have been your own or you don't understand what was going on, don't post to the contrary. Please be specific or don't bother answering. The original poster would now think that ports cannot be shared, when indeed they can and are for many programs, including the Workbench. jimm -- Jim Mackraz, I and I Computing "Like you said when we crawled down {cbmvax,well,oliveb}!amiga!jimm from the trees: We're in transition." - Gang of Four Opinions are my own. Comments are not to be taken as Commodore official policy.