home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!munnari.oz.au!metro!ipso!fawlty!johnmac
- From: johnmac@fawlty.towers.oz.au (John MacLean)
- Subject: List Manager Optimisations - Programmer - Help
- Organization: Tower Technology, Sydney
- Date: Tue, 1 Sep 1992 22:49:06 GMT
- Message-ID: <1992Sep1.224906.11886@fawlty.towers.oz.au>
- Sender: johnmac@fawlty.towers.oz.au (John MacLean)
- Lines: 29
-
- This is one for comp.sys.apple2.programmer :
-
- INFO:
- When the list manager is scrolling your lists, it does not
- always redraw the entire displayed portion of the list.
- Sometimes (when the new displayed portion overlaps the old portion)
- it optimises this and scrolls the underlying RECT, before redrawing
- only those items it needs to.
-
- PROBLEM:
- I have a list box where this optimisation doesn't work (because each
- list item is drawn with a custom "item draw" routine which modifies
- the corresponding palettes - the scrolling does not scroll the palettes
- of course, only the data).
-
- QUESTIONS:
- I find it hard to believe that such an obvious problem has always been
- in my software without anyone reporting it previously.
- Has this optimisation always been in the list manager, or is it new
- for System 6.0?
- How can I code around it, and force the list manager to always redraw
- all visible items?
-
- John MacLean.
- --
- This net: johnmac@fawlty.towers.oz.au Phone: +61 2 427 2999
- That net: uunet!fawlty.towers.oz.au!johnmac Fax: +61 2 427 7072
- Snail: Tower Technology, 1 Apollo Pl, Home: +61 2 449 5930
- Lane Cove, NSW 2066, Australia.
-