Xref: utzoo comp.sys.amiga.tech:13639 comp.sys.amiga:62731 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!uoft02.utoledo.edu!grx1042 From: grx1042@uoft02.utoledo.edu (Steve Snodgrass) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: Problem with requester in my program. Help! Message-ID: <1990Jul30.001403.1301@uoft02.utoledo.edu> Date: 30 Jul 90 05:14:03 GMT Organization: SUBTEC Lines: 22 I've written a program that uses a requester and I'm having a bit of a problem. The requester consists of 4 gadgets, all of which are ENDGADGETs. It appears in a window containing some other gadgets. It is triggered by a gadget activation in the window. The problem: when 2 rapied gadget picks are grouped together, the first one calling up the requester, the program gets confused and thinks the user has picked one of the requester gadgets. It procedes on through the program, and my window gets closed by the program, leaving this requester sitting in thin air. How can I prevent this? I've even got a loop right before the requester designed to clear the message port, of the form: while (msg = GetMsg(wind->UserPort)) { ReplyMsg(msg); } Help!! Thanks in advance. Steve Snodgrass - Ph'ran |SUBTEC - Student Union Board Technical Services| Green Rider of Telgar Weyr|Turbosound - the only way to fly. TMS-4 | --------------------------|-----------------------------------------------| GRX1042@uoft02.utoledo.edu|"It had limited capability, with a mere hundred| GRX1042@uoft02.BITNET | thousand gigabytes of RAM" -Jack L. Chalker | "Who explains the dreams we know/Carry us through from day to day" -me