
10-31-2008, 6:06 PM
|
 |
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
|
|
Join Date: Dec 2005
Location: Norway
Age: 37
Posts: 10,325
Reputation: 1315
|
|
The easiest approach would be to handle the MouseMove event of each HtmlDocument that was loaded, but it doesn't work over embedded objects in document like the many Flash ads you see in just about all webpages... so they probably use a system wide Mouse Hook.
By the way, you're not getting messages to Wndproc because the Webbrowser control is a wrapper for an ActiveX control that hosts the rendered document object, so even with a NativeWindow class to get messages from the COM component you'd have trouble finding the correct window handle to listen for.
|