I need to be able to trap when the user clicks on a Web Browser control.

  • Thread starter Thread starter RMZ
  • Start date Start date
R

RMZ

So the .NET 2.0 web browser control does not provide a MouseDown or
Click event handler, but I have a need to trap on this. I would like
to know the best approach to accomplish this. I see Enter and Leave
event handlers on the control and I have tried to trap on these and
then check the MouseDown event on the parent, but this doesn't seem to
work.

Is there an approach I can use with API calls. I don't require an 100%
managed solution.

Thanks.
 
install a mouse hook and check if the source window is the webbrowser
control or its children.
 
Back
Top