http://bugs.winehq.org/show_bug.cgi?id=18006
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2009-06-07 09:38:48 --- (In reply to comment #7)
I've contacted the author. He said that he is doing (translating from German) "in principle the same thing, but the interesting part is probably this":
On native Windows this message is only sent, when there is at least one column to display text. This is not the case in Wine where the message is also sent for Listviews which have no columns at all.
I guess the crash happens because the program relies on this behavior.
Unfortunately this doesn't bring new information for me cause test was written exactly about it. If I understand him right we are talking about LVM_INSERTCOLUMN message which he (author) doesn't send. That's how I got a phrase: --- when there is at least one column to display text --- means "I've sent LVM_INSERTCOLUMN at least once".
If it means something else please let me know.
Can somebody confirm that LVN_GETDISPINFO is always sent in Wine, even for empty list views? Unfortunately I have no idea how to test it.
Of course not. LVN_GETDISPINFO is sent to parent when an item info is requested by control - for display or as message request (like LVM_GEITEMTEXT in attached test). So there's no reason to sent it on empty list, if only we don't check itemcount somewhere - I'll check it once more.