I need to hook Paste operation on TAdvListEditor to pre-process data being pasted into it.
The data is multi-line, I need to have it in single line, before I paste into TAdvListEditor.
I tried subclassing TAdvListEditor and capturing WM_PASTE in WndProc() but that never occurs (WM_PASTE never appears) although a number of other messages are passing through WndProc() so can't be done like that.
I also tried event - OnValueEditDone.
In that method there is a EditText which can be modified before it is inserted. That value is always 1 line (first line of the pasted text).
How can I capture raw paste data?