Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello All,

I am working on one MFC C++ application in which i hosted multiple web browser. In those web-browser if there is any web page with tel:1234 and i click on that url, I got the event with number.

Now what i want is to capture this event globally. Like if someone is using chrome or mozilla or IE browser or even working with document which has TEL:URL anywhere and they click on it. Then my application should be able to get that event with number.

By default Skype will be called automatically if installed.

If anyone has experience in similar stuff please help me.

What I have tried:

With Hosted web browser control in my application it works.
Posted
Updated 20-Feb-18 9:22am
Comments
Richard MacCutchan 20-Feb-18 12:37pm    
The only way this could work is by the other browser sending a message to your application when such an item is clicked. You may be able to do that with a Browser extension - Wikipedia[^].

1 solution

You need to register your application as a URL protocol handler for the tel: protocol:
Custom URL Protocol for Invoking Application[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900