home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!uvaarpa!adastra!mbs
- From: mbs@adastra.cvl.va.us (Michael B. Smith)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Listview slider problem (Code included)
- Distribution: world
- Message-ID: <mbs.1a46@adastra.cvl.va.us>
- References: <7NOV92.13340477@wl.aecl.ca>
- X-NewsSoftware: GRn-beta 1.16g (11.07.92) by Mike Schwartz & Michael B. Smith
- Date: 7 Nov 92 18:18:45 EDT
- Organization: Well, I haven't decided on a name yet...
- Lines: 26
-
- In article <7NOV92.13340477@wl.aecl.ca> taylorm@wl.aecl.ca writes:
- > Anyone who could find the bug would receive my enternal gratitude and
- > preserve my sanity.
-
- Hehe. How much is sanity worth these days? :)
-
- > (imsg = GT_GetIMsg(calcwin->UserPort)))
- > {
- > gad = (struct Gadget *)imsg->IAddress;
-
- NO! This isn't your bug, but NEVER EVER do this, unless you know that
- imsg->Class is IDCMP_GADGETUP or IDCMP_GADGETDOWN. It isn't a gadget
- unless the Class is for one of those two.
-
- > WA_DetailPen, -1,
- > WA_BlockPen, -1,
-
- THIS is your problem. I personally would suggest:
-
- WA_DetailPen, 0,
- WA_BlockPen, 1,
-
- > In search of the virtual world * /\/\ike Taylor
- --
- // Michael B. Smith
- \X/ mbs@adastra.cvl.va.us -or- uunet.uu.net!virginia.edu!adastra!mbs
-