I use c++buider4 and TWebBrowser. How can I avoid "mailto" to be executed when this type of link is clicked? Actually, I dont want this link to be executed because when it's executed, it switch to mail application and open a new windows. Thanks
Asked
Active
Viewed 133 times
1 Answers
2
Use the OnBeforeNavigate2
event to cancel the operation if the URL being requested starts with mailto:
.

Remy Lebeau
- 555,201
- 31
- 458
- 770