Xref: utzoo comp.sys.amiga:62925 comp.sys.amiga.tech:13689 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!ryn.esg.dec.com!meridn.enet.dec.com!barrett From: barrett@meridn.enet.dec.com (Keith Barrett) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Activating Gadgets in C Message-ID: <2384@ryn.esg.dec.com> Date: 2 Aug 90 00:46:47 GMT Sender: guest@ryn.esg.dec.com Followup-To: comp.sys.amiga Organization: Digital Equipment Corporation Lines: 19 I need help with gadgets in C. I created a database that uses string gadgets as input. The problem is I can't get the gadgets to auto-activate so that you don't have to click the mouse on the string gadget to activate it. So you should just be able to type and when you hit return it should activate the next gadget. I set the SELECTED bit in the gadget but all this does is make the cursor appear but you still have to click on the gadget. The only method I can think of would be feeding INTUITION false mouse movement, but that seems a little messy. Any help would be appreciated. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "I'm Bart Simpson - who the hell are you?" Keith G. Barrett - Software Specialist Internet: barrett@meridn.enet.dec.com Digital Equipment Corp. "DEC has it now" UUCP: decwrl!meridn.enet!barrett // "Wait'll they get a load of me" - Joker \X/ "The Amiga is really a picoVAX" "You won't get it!" - the Prisoner ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~