Re: WndProc in managed C# code

From: Eugene Mayevski (mayevski_at_eldos.org)
Date: 08/17/04


Date: Wed, 18 Aug 2004 00:21:01 +0300

Hello!
You wrote on Tue, 17 Aug 2004 11:13:47 -0700:

 PGT> That's right! Alex did get that to work, didn't he? Sorry, I'd
 PGT> forgotten about how impressive that was...

There's one narrow place in that solution -- HWND is obtained using
GetFocus(). While sometimes this works, this is obviously not a solution for
every window.
Does anybody know how to get native (OS-specific) HWND from WinForms window?

With best regards,
Eugene Mayevski