Intercepting the IE control's right-click

BlitzPlus Forums/BlitzPlus Programming/Intercepting the IE control's right-click

JoshK(Posted 2005) [#1]
Is there any way to intercept the event when you right-click a link in an IE control? You can't make your own web browser right now, because when you open a link in a new window, it opens IE. I use PureBasic a lot to overcome any shortcoming of BlitzPlus, so function pointers and stuff are not a problem. Any ideas?


Kuron(Posted 2005) [#2]
Depends on what you want to use the right click for? If you just want to disable it, you could use some javascript in the HTML page itself to do that. You might be able to find a way with javascript to force it to open in the same window. I am not a javascript guru, but can usually find a script for what I need via http://javascript.internet.com/


JoshK(Posted 2005) [#3]
No, I said to make a browser...so writing a special web page doesn't make sense.


Qube(Posted 2005) [#4]
Is this link of any use to you?

http://www.codeguru.com/Cpp/I-N/ieprogram/article.php/c4401/


JoshK(Posted 2005) [#5]
I'd say you hit the nail right on the muther****ing head!