This question is related to Visual Basic .NET 2010
Hey. I need to capture keys from a window handle on my form. This is what my code does:
- Use a webbrowser control to navigate to a website
- Get window handle of an object on the webbrowser
- user32.SetParent() to a new UserControl on my form
Now the object that initially was on the webbrowser is displayed in a control on my form, but any keys sent to that control don't register on the events .KeyDown() and .KeyUp().
So how do I capture the keys from the window handle?