[comp.sys.mac.programmer] List Manager and Inactive Windows/Lists

sanderso@cs.glasgow.ac.uk (Mark Sanderson) (03/29/89)

I having a problem with the List Manager.

I have an application that has two windows with lists in them. I have written
a routine that allows the user to drag elements of one list into the other,
just like the Finder.
Items are dragged from the currently active window to an inactive window.
When I add the dragged list elements to the list (using LAddRow and LSetCell)
the vertical scroll bar associated with the list has its hilite value set to
255 (eg inactive). This happens regardless of how many elements are in the list

This effect only seems to happen when the List is inactive. I can fix it by
setting the scroll bar value back to 0 but this is a real hack.

Has anyone else had this problem. Does anyone have any ideas ? I am really
stuck.

If this has been discussed before, then my apologies.



					Mark Sanderson