home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!swrinde!mips!darwin.sura.net!welchgate.welch.jhu.edu!keithc
- From: keithc@welchgate.welch.jhu.edu (Keith Christopher)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: A needed utility for the Amiga...
- Message-ID: <1992Aug21.121049.16457@welchgate.welch.jhu.edu>
- Date: 21 Aug 92 12:10:49 GMT
- References: <13AUG199207344470@ariel.lerc.nasa.gov> <1992Aug17.190139.7358@ugle.unit.no> <18AUG199210433375@ariel.lerc.nasa.gov>
- Organization: Johns Hopkins Univ. Welch Medical Library
- Lines: 25
-
-
- What is the best way to get response from a gadget being clicked ?
-
- I used
-
- switch (((struct Gadget *) imsg->IAddress)->GadgetID)
- {
- case GD_close:
- .
- .
- break;
- case GD_open:
- .
- puts("Test!");.
- .
- break;
- }
-
- any one know why the window will open and start outputting Test! over and over
- then close.? it seems as though it's treating the situation as if the gadgets
- are being clicked when I haven't.
-
- keithc
-
- New to programming the amiga. But with great ideas.!
-