Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Gadgets and requesters: trying to get started Message-ID: <50050@sun.uucp> Date: 19 Apr 88 19:30:43 GMT References: <27194@cca.CCA.COM> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 34 In article <27194@cca.CCA.COM> jack@cca.CCA.COM (Jack Orenstein) writes: > In particular, I can't find any discussion of how to attach a requester > to a window. Call Request(), it is documented in the Intuition Manual. It returns TRUE if your requester could be rendered. After that all input to your event loop comes from the requester until the user selects an ENDGADGET type gadget or your code calls EndRequest(). > DMRequest field (what does the DM stand for?) DM stands for 'Double Menu'. With the routine SetDMRequest() you can arm Intuition to display a requester of your choice when the user double clicks on the *Menu* button. > Also, how do the sizes of the requester and any attached gadgets relate? A requester must be large enough to hold all of the gadgets in it. > Are gadget coordinates relative to the requester or to the window > containing the requester? Gadget Coordinates are relative to the top left corner of the requester. >Are there any books with more complete information? Yes, the Intuition Manual, the section on Requesters, lists the various routines you can call that affect requesters. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.