🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Gadget questions

#5711
From: Udo K Schuermann
Date: Tue, 09 Oct 1990 21:59
28 lines
1749 bytes
I know that this subject came through here before, but despite the notes
that I took and the bits I recall, I can't get ActivateGadget() to work
(maybe I'm stupid ...)

1. I have two string gadgets (text) attached to a borderless backdrop
   window.  I wish to activate the first of these gadgets with the
   ActivateGadget() function, but this function refuses to do the job
   it seems to be designed for, and continues to return 0 (failure)
   regardless what I do.

   Is there anything I should know about activating a gadget under
   program control?  Any tricks, flag combinations that work or
   don't work?  Known bugs?  Why would ActivateGadget() fail?

   The only docs I have are 1.2

2. Also, I'm trying to get the gadget text (as entered by the user) to
   render with colors 1 on 3 but the gadget seems to insist on colors
   1 on 0 despite the pen settings in the Screen and Window structures.

Please respond by EMAIL and I'll summarize if there are requests.

Many thanks in advance!

My system: 2000/WB1.3

 ._.  Udo Schuermann           "How is American beer similar to making love in
 ( )  walrus@cscwam.umd.edu    a canoo?" -- "Both are f***ing close to water."
Technical Details
Message-ID: <1990Oct9.215943.12562@wam.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!wam!walrus

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!wam!walrus
From: walrus@wam.umd.edu (Udo K Schuermann)
Newsgroups: comp.sys.amiga.tech
Subject: Gadget questions
Keywords: activate gadget help
Message-ID: <1990Oct9.215943.12562@wam.umd.edu>
Date: 9 Oct 90 21:59:43 GMT
Sender: usenet@wam.umd.edu (USENET Posting)
Reply-To: walrus@wam.umd.edu (Udo K Schuermann)
Distribution: comp.sys.amiga.tech
Organization: University of Maryland at College Park
Lines: 28