Attached is a patch for the ListView code. In the beginning it was a bit confusing since…
Show quoted text 6 lines
CN_NOTIFY and LM_NOTIFY messages are basically the same. Some Delphi components expect CN_NOTIFY. It's win32 specific, but because it can be achieved without any extra line of code, the LCL will do it the same. I have changed the message ID in the gtk interface, instead of changing the TListView message ID.
The Selected property can be used to get the selected listitem. After deletion of the selected listitem it is set to nil. I am not sure I put that code in the right place.
I think, it was the best place for that. :)
Mattias
