🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4595

Problem with requester in my program. Help!

#4595
From: Steve Snodgrass
Date: Mon, 30 Jul 1990 05:14
22 lines
1643 bytes
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
Technical Details
Message-ID: <1990Jul30.001403.1301@uoft02.utoledo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!uoft02.utoledo.edu!grx1042

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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