http://bugs.winehq.org/show_bug.cgi?id=18006
--- Comment #7 from the_unknown@gmx.net 2009-06-07 07:37:52 --- (In reply to comment #5)
OK. I've made a small test on that which unfortunately succeeded on WinXP and Wine.
It does this following:
- creates control with LVS_REPORT
- no columns added
- insert item with LVIF_PARAM | LVIF_TEXT (with callback placeholder)
- then text is retrieved with LVM_GETITEMTEXT
After that parent window got a LVN_DISPINFO notification.
Please contact author again and get a similar list from it. I need exact steps to write test, without it it can't be solved.
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.
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.