Path: utzoo!mnetor!uunet!husc6!uwvax!puff!avery From: avery@puff.cs.wisc.edu (Aaron Avery) Newsgroups: comp.sys.amiga.tech Subject: Re: IDCMP ports Message-ID: <1592@puff.cs.wisc.edu> Date: 21 Apr 88 10:34:11 GMT References: <2336@mit-amt.MEDIA.MIT.EDU> Reply-To: avery@puff.WISC.EDU (Aaron Avery) Distribution: na Organization: U of Wisconsin CS Dept Lines: 21 Keywords: screens windows In article <2336@mit-amt.MEDIA.MIT.EDU> dlleigh@media-lab.UUCP (Darren L. Leigh) writes: >If I have an application that has created a custom screen and I don't >want to open any windows, how do I get an IDCMP port between me and >Intuition? All the documentation talks about windows and I don't see >a way to do it otherwise. I just want some mouse moves and gadget >information without cluttering up the world with windows. >Is this possible? If not, is this why I see gratuitous tiny windows >behind so many applications? I believe you are correct about everything. You must have a window to get Intuition to send you IDCMP messages. Yes, this is probably why you see gratuitous tiny windows all the time. One of the better ways to do what you want is to do what uShow does. It opens a tiny, invisible window consisting entirely of its close gadget in the upper left corner of its screen. This gives you a close gadget for your screen, and a window structure with which to manage IDCMP messages. If you're not sure how to make it invisible, try BORDERLESS and BACKDROP in the NewWindow's Flags field. -- Aaron Avery (avery@puff.cs.wisc.edu) ({seismo,caip,allegra,harvard,rutgers,ihnp4}!uwvax!puff!avery)