Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!cbmvax!carolyn From: carolyn@cbmvax.UUCP Newsgroups: comp.sys.amiga Subject: Re: ActivateGadget() Message-ID: <1932@cbmvax.cbmvax.cbm.UUCP> Date: Tue, 26-May-87 17:57:49 EDT Article-I.D.: cbmvax.1932 Posted: Tue May 26 17:57:49 1987 Date-Received: Thu, 28-May-87 04:16:56 EDT References: <2158@hoptoad.uucp> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 17 In article <2158@hoptoad.uucp> slc@hoptoad.UUCP (Steve Costa) writes: > >How do you use ActivateGadget() ? >I have source to a program that doesn't use it, so that its requester >requires clicking. I've tried using ActivateGadget before and after >the request, with a Delay(5), but still nothing happens... ActivateGadget() will fail if the gadget is not ready to be activated. You should ask for REQSET messages in your IDCMP and not do the ActivateGadget() until your receive the REQSET message. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=