home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / apple2 / 19753 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.5 KB  |  40 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!munnari.oz.au!metro!ipso!fawlty!johnmac
  3. From: johnmac@fawlty.towers.oz.au (John MacLean)
  4. Subject: List Manager Optimisations - Programmer - Help
  5. Organization: Tower Technology, Sydney
  6. Date: Tue, 1 Sep 1992 22:49:06 GMT
  7. Message-ID: <1992Sep1.224906.11886@fawlty.towers.oz.au>
  8. Sender: johnmac@fawlty.towers.oz.au (John MacLean)
  9. Lines: 29
  10.  
  11. This is one for comp.sys.apple2.programmer :
  12.  
  13. INFO:
  14. When the list manager is scrolling your lists, it does not
  15. always redraw the entire displayed portion of the list.
  16. Sometimes (when the new displayed portion overlaps the old portion)
  17. it optimises this and scrolls the underlying RECT, before redrawing
  18. only those items it needs to.
  19.  
  20. PROBLEM:
  21. I have a list box where this optimisation doesn't work (because each
  22. list item is drawn with a custom "item draw" routine which modifies
  23. the corresponding palettes - the scrolling does not scroll the palettes
  24. of course, only the data).
  25.  
  26. QUESTIONS:
  27. I find it hard to believe that such an obvious problem has always been
  28. in my software without anyone reporting it previously.
  29. Has this optimisation always been in the list manager, or is it new
  30. for System 6.0?
  31. How can I code around it, and force the list manager to always redraw
  32. all visible items?
  33.  
  34. John MacLean.
  35. -- 
  36. This net: johnmac@fawlty.towers.oz.au                   Phone: +61 2 427 2999
  37. That net: uunet!fawlty.towers.oz.au!johnmac             Fax:   +61 2 427 7072
  38. Snail:    Tower Technology, 1 Apollo Pl,                Home:  +61 2 449 5930
  39.           Lane Cove, NSW 2066, Australia.
  40.