http://bugs.winehq.org/show_bug.cgi?id=5987
------- Additional Comments From MattFinn@gmail.com 2006-21-08 07:27 ------- Hello, Thanks for writing these test applications / filing the bugs. It's really appreciated.
Using both the latest wine richedit, and native, I have some serious trouble writing into this box / getting it to focus properly. Not really sure why.
Either way, I've now sent a patch to wine-patches that fixes this - EM_EXLINEFROMCHAR didn't handle the special case of lParam == -1 (which isn't mentioned in MSDN, but follows suit with EM_LINEFROMCHAR, and obviously works in your program).