Marvelous!  Thanks, Corey!  I don't begin to understand all the hook and
unhook things going on here, but as long as it works, it solves the 
immediate
problem of disabling the standard TWebBrowser right click menu.

Now I have to figure out how to call the popup menu instead.  Does anyone
have an idea on how to do that?

Thanks,
Rich

Cory wrote:


> Rich, this article describes how to disable TWebBrowser's context menu
>
> http://delphi.about.com/cs/adptips2004/a/bltip0504_3.htm
>
> On 8/11/06, Rich Cooper -
> [EMAIL PROTECTED]<+delphitalk+coreyw+8675ec153b.rcooper15#comcast.net@
> spamgourmet.com> wrote:
>>
>> Thanks Rob,
>>
>> >From that MSDN web site material, it appears that the way to eliminate
>> the
>> standard
>> context menu and implement a Delphi popup menu is to override what MSDN
>> calls
>> IDocHostUIHandler::ShowContextMenu
>>
>> Does anyone have a sample (or article) about how to do that?  Surely lots
>> of
>> people must have faced that issue before and solved it?
>>
>> Thanks,
>> Rich
>>
>>
>> Rob Kennedy wrote:
>>
>> > Rich Cooper wrote:
>> >> Does anyone know how to change the IE6 popup menu to another
>> >> popup menu of my own design?
>> >
>> > See the following MSDN article.
>> >
>> >
>> http://msdn.microsoft.com/workshop/browser/overview/overview.asp#Controlling_the_Cont
>> >
>> > --
>> > Rob
>>
>> __________________________________________________
>> Delphi-Talk mailing list -> Delphi-Talk@elists.org
>> http://www.elists.org/mailman/listinfo/delphi-talk
>>
> __________________________________________________
> Delphi-Talk mailing list -> Delphi-Talk@elists.org
> http://www.elists.org/mailman/listinfo/delphi-talk
> 

__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to