listview expert required (again)

Dimitrie O. Paun dpaun at
Mon Sep 1 23:29:54 CDT 2003

On September 1, 2003 03:46 pm, Eric Pouech wrote:
> configuration :
> - a listview in autoarrange mode
> - adding item one after the other
> - say the first item is created with the selection (LVIS_SELECTED)
> - some more items are inserted without the selection
> - in some cases, the selection will move to the newly inserted item
> instead of remaining on the first item (likely some internal index is
> not recalculated in autoarrange mode)

A few questions:
  -- LVS_OWNERDATA? (I guess not...)
  -- Do you use LPSTR_TEXTCALLBACK for the item text?
  -- Does a refresh fix the problem?
  -- Any pattern to the "some cases"?
  -- Do you use any callbacks?

How important is this to the functionality of the app. It would be
a lot simpler for me to debug it, once I have the app in the tree
(if this is for the app you were talking about, of course).


More information about the wine-devel mailing list