I have an MFC application that has a webcontrol. When clickable links are clicked, it opens using IE, not the default browser.
Questions :
- Is there a way to force it to open using the default browser?
- If not, how do I capture the Link Click event so I could just manipulate the click event later?
Thanks…
You can capture click events by using “HRESULT STDMETHODCALLTYPE Invoke” see MSDN for more details.
And here’s a great example that shows how to open your URL using the default browser in the same window, or opening a new window > http://www.codeproject.com/KB/IP/urlnewwindow.aspx