Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!rutgers!bellcore!tness7!tness1!sugar!peter From: peter@sugar.uu.net (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: following the sliding prop gadget Message-ID: <2738@sugar.uu.net> Date: 2 Oct 88 22:10:37 GMT References: <2877@mtuxo.att.com> <4875@cbmvax.UUCP> <7263@well.UUCP> <2937@mtuxo.att.com> Distribution: na Organization: Sugar Land Unix - Houston, TX Lines: 15 In article <2937@mtuxo.att.com>, tas@mtuxo.att.com (XMPC2-T.SKROBALA) writes: > (especially now that it's obviously causing me problems), and I've gotten > the idea here that there is a way to flush all of a window's pending messages > when it is closed. Is this as simple as installing a GetMsg() loop before > CloseWindow(), or is there more to it? I don't know. I was trying to do the same thing with a GetMsg/ReplyMsg loop just before I closed any window, but I still got occasional gurus on closing a window. I finally gave up and went back to multiple IDCMPs. Anyone have a code fragment that is safe and has no windows where a message can get sent to a bogus port? -- Peter da Silva `-_-' peter@sugar.uu.net Have you hugged U your wolf today?