Path: utzoo!attcan!uunet!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!uw-beaver!Teknowledge.COM!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: cdevs and the List Manager Message-ID: <13580@unix.SRI.COM> Date: 27 Jun 90 16:35:50 GMT References: <36518@shemp.CS.UCLA.EDU> Reply-To: mxmora@unix.UUCP (Matt Mora) Organization: SRI International, Menlo Park, CA Lines: 31 In article <36518@shemp.CS.UCLA.EDU> tj@cs.ucla.edu (Tom Johnson) writes: >over the list. When the dialog is dismissed, the list is'n properly updated. >I am doing an LUpdate when the cdev receives an Update msg, but it >just doesn't seem to be doing the trick--the list is still there, but >each cell appears empty, and the selection stuff is messed up (instead >of boing able to select only one cell, you can select several). I had this problem in a library that I wrote using the list manager. I solved it by invalidating the rect of the list manager before the update. This did solve the problem but is probably not the best way to go. The whole idea of the update routine is to only draw what really needs to be updated. Not to invalidate the whole mess and redraw it. Does anybody know the real reason why the listmanager sometimes doesn't update correctly? >Any ideas/suggestions/source code? >Tom Johnson UCLA Computer Science Department -- ___________________________________________________________ Matthew Mora | my Mac Matt_Mora@sri.com SRI International | my unix mxmora@unix.sri.com ___________________________________________________________