🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Some Gadget Questions?

#13617
From: Jerry Garcia
Date: Sat, 10 Feb 1990 22:12
23 lines
1800 bytes

	I have a couple of questions about gadgets.  First I am using power
windows.  The program that I am working on has a custom screen, and two
borderless windows.  Each window has several gadgets.  I am using Lattice
c.  The first question That I have has to do with boolean gadgets and the
necessary flags.  I started by creating the first window with several
string gadgets and one boolean gadget.  When the boolean gadget was
selected I wanted to save the info and close the window.  I accomplished
this by setting the following IDCMP flags, GadgComp, Relverfiy,
GadgImmediate.  By using the source debugger(CPR) I found that selecting
these flags caused a message to be sent to the message port with the value
of 32.  Now I created a second window with several string and one boolean
gadget.  The boolean gadget was set up the same way.  I open the second
window first but when I select the boolean gadget nothing goes to the
message port.  What I need to know is how to get a message to the message
port so I can deal with this event.
	The second question is a little more straight foward.  When opening a
window with more then one string gadget how do you get the first gadget to
be activated so the user just starts entering data, and when he hits return
to activate the next gadget?
	Thank in advance.
							Jerry
Technical Details
Message-ID: <1990Feb10.221204.9516@csusac.csus.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ucdavis!csusac!
References: <1075@mindlink.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ucdavis!csusac!
From: cs03513@athena.csus.edu (Jerry Garcia)
Newsgroups: comp.sys.amiga.tech
Subject: Some Gadget Questions?
Message-ID: <1990Feb10.221204.9516@csusac.csus.edu>
Date: 10 Feb 90 22:12:04 GMT
References: <1075@mindlink.UUCP>
Reply-To: cs03513@athena.UUCP (Jerry Garcia)
Organization: California State University, Sacramento
Lines: 23