🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: String Gadgets

#11270
From: James E. Gary
Date: Tue, 31 Jan 1989 15:57
8 lines
972 bytes
I find it useful to wait for an ACTIVEWINDOW message before ActivateGadget()
if I the window has just been opened. Apparently ActivateGadget() doesn't
work at all if the window it is in is not active. If you are trying to
activate the gadget immediately after opening the window, then you may get
lucky depending on how busy the system is, and the window may get activated
before your ActivateGadget() call, but you can't count on it. Best bet is
to request an active window before messing with the gadget.
Technical Details
Message-ID: <10999@s.ms.uky.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!jgary
References: <sXqvpRy00V4D42YUwk@andrew.cmu.edu> <86686@sun.uucp> <483@infohh.rmi.de> <438@madnix.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!jgary
From: jgary@ms.uky.edu (James E. Gary)
Newsgroups: comp.sys.amiga.tech
Subject: Re: String Gadgets
Message-ID: <10999@s.ms.uky.edu>
Date: 31 Jan 89 15:57:54 GMT
References: <sXqvpRy00V4D42YUwk@andrew.cmu.edu> <86686@sun.uucp> <483@infohh.rmi.de> <438@madnix.UUCP>
Reply-To: jgary@ms.uky.edu (James E. Gary)
Organization: U of Kentucky, Mathematical Sciences
Lines: 8