Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpsal2!hpcupt1!hpindda!grant
From: grant@hpindda.UUCP
Newsgroups: comp.sys.amiga
Subject: Re: Burning Questions
Message-ID: <6570007@hpindda.HP.COM>
Date: Thu, 3-Dec-87 14:49:25 EST
Article-I.D.: hpindda.6570007
Posted: Thu Dec  3 14:49:25 1987
Date-Received: Tue, 8-Dec-87 06:39:55 EST
References: <6570001@hpindda.HP.COM>
Organization: Hewlett Packard, Cupertino
Lines: 43


>Is your window a SIMPLE_REFRESH window?

No, it's a SMART_REFRESH window.
I do have the REFRESH_WINDOW flag set, however, I currently reply to the
message immediately

>What I mean by double click, is click on the left (select) button twice.

>I thought of something else that could cause this behaviour, that is 
>if you had REQVERIFY set, but you don't mention it so I assume you don't.

I do have the REQVERIFY flag set, infact, I have all the REQ flags set
(sorry, I forgot to mention it before). Here are all the flags set in the 
window 

#define STD_WIN_FLAGS (long)(WINDOWCLOSE | SMART_REFRESH | WINDOWDEPTH\
       | WINDOWSIZING | WINDOWDRAG | REPORTMOUSE)

#define STD_IDCMPS  (long)(MOUSEBUTTONS | MOUSEMOVE | CLOSEWINDOW\
       | MENUPICK | MENUVERIFY | REQSET | REQCLEAR | REQVERIFY | NEWSIZE\
       | REFRESHWINDOW | SIZEVERIFY | ACTIVEWINDOW | INACTIVEWINDOW | RAWKEY\
       | NEWPREFS | GADGETDOWN | GADGETUP)

But, like I said before, I reply to these messages immediately
(I just started to write the message handler functions)
Also, I tried taking out the REQ* flags, but to no avail.

>Since Intuition queues messages until you can get to them. 
>In my code I check to see if the 'other' window pointer is now NULL, and
>if it is just throw away messages coming from it. 

There is a problem when you try to CloseWindow() on that window, after NULLing
the message port.  Intuition will close it's port and reclaim all the messages
that it sent.  But, there could be messages still queued to the my port
(usually mouse move messages), and when they get reclaimed, the reclaimation
process screws up the links in the message queue. Then Guru...

>--Chuck McManis

Thanks,
 
Grant Haidinyak