how can i check if the user clicked a link in the webbrowser controll
Printable View
how can i check if the user clicked a link in the webbrowser controll
bum
bum
Depends on what you want to know. If it's a 'normal' navigational link you can use the WB's BeforeNavigate2 event. That event comes with parameters such as the URL and the target. If the link is not a navigational one, the BeforeNavigate2 event won't be triggered, or if you want more information than the parameters with the BeforeNavigate2 event provide, you can respond to the document's events itself (onclick, onblur, onmouseover etc.). Which one is it? :)
its because i want to check if its an popup. when the user clicks its not otherwise it is.