开发者

How to make a customized menu for Delphi's WebBrowser?

Is it possible to make a customized menu for the WebBrowser control?

I want to disable some existing items and add some new 开发者_开发技巧items.


You can do this implementing the IDocHostUIHandler.ShowContextMenu method for the TWebBrowser Component, when you override this method, the TWebBrowser control will call your customized menu, check this article How to customize the TWebBrowser user interface (part 4 of 6) to learn how override this method from delphi and then check this article from the MSDN WebBrowser Customization (Part 2) to see how customize the menu.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜