home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15519 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.4 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!uvaarpa!adastra!mbs
  2. From: mbs@adastra.cvl.va.us (Michael B. Smith)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Listview slider problem (Code included)
  5. Distribution: world
  6. Message-ID: <mbs.1a46@adastra.cvl.va.us>
  7. References:  <7NOV92.13340477@wl.aecl.ca>
  8. X-NewsSoftware: GRn-beta 1.16g (11.07.92) by Mike Schwartz & Michael B. Smith
  9. Date: 7 Nov 92 18:18:45 EDT
  10. Organization: Well, I haven't decided on a name yet...
  11. Lines: 26
  12.  
  13. In article <7NOV92.13340477@wl.aecl.ca> taylorm@wl.aecl.ca writes:
  14. > Anyone who could find the bug would receive my enternal gratitude and
  15. > preserve my sanity.
  16.  
  17. Hehe. How much is sanity worth these days?  :)
  18.  
  19. >              (imsg = GT_GetIMsg(calcwin->UserPort)))
  20. >          {
  21. >          gad = (struct Gadget *)imsg->IAddress;
  22.  
  23. NO! This isn't your bug, but NEVER EVER do this, unless you know that
  24. imsg->Class is IDCMP_GADGETUP or IDCMP_GADGETDOWN. It isn't a gadget
  25. unless the Class is for one of those two.
  26.  
  27. >                        WA_DetailPen,     -1,
  28. >                        WA_BlockPen,      -1,
  29.  
  30. THIS is your problem. I personally would suggest:
  31.  
  32.                         WA_DetailPen,   0,
  33.                         WA_BlockPen,    1,
  34.  
  35. >   In search of the virtual world       *             /\/\ike Taylor
  36. --
  37.   //   Michael B. Smith
  38. \X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
  39.