On Thu, Feb 04, 2010 at 09:11:41AM +0300, Sergey Khorev wrote:
Andy,Most interesting, as DefWindowProc is still called. So I guess that indicates that _something_ goes wrong inside it. It doesn't bother to put anything but "Operation successfully completed" or something like that into GetLastError() though...It seems I found what actually is wrong. In gui_w32.c we create ASCII window class for text area, but _TextAreaWndProc forwards messages to vim_WindowProc which in turn might call wide window proc! The solution is to create wide text area window class if parent window is wide.
Nice thanks for looking into it some more.
Attached patch solved my problem. Can you please try it and check whether this helps you too or not.
I only did a quick check and got an error at startup, I'll take a closer look this evening when I get back from work.
Regards, Andy -- Remember that whatever misfortune may be your lot, it could only be worse in Cleveland. -- National Lampoon, "Deteriorata"
pgpVfqUyoT37a.pgp
Description: PGP signature