Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!pur-ee!pur-phy!tlm From: tlm@pur-phy (Timothy Lee Meisenheimer) Newsgroups: comp.sys.amiga.tech Subject: inputs from many windows. Keywords: windows, messages, IDCMP, stupid! Message-ID: <1918@pur-phy> Date: 27 Jan 89 17:16:14 GMT Reply-To: tlm@newton.physics.purdue.edu.UUCP (Timothy Lee Meisenheimer) Distribution: comp.sys.amiga.tech Organization: Purdue Univ. Physics Dept., W. Lafayette, IN Lines: 12 Well, I'm working on a little project which will have lots of little windows around (1 - X where X is related to how obnoxious you're feeling) and I'll be getting inputs (mouseclicks, gadgets, kill etc.) from them all. What I would like to ask is for those of you who have done something like this (like "Browser") what have you done in your event loop to read all these messages and tell which window they come from? I haven't seen any good examples yet (though I'm going to check out what Matt does in DME), and would appreciate any advice from those wiser than myself. Would you suggest looking at all the UserPorts? Replacing all the UserPorts with that of the first one? (that sounds fishy!) Thanks for any help. tim.