The sample demonstrates how to create a tabbed WebBrowser.
The "Open in new Tab" context command is disabled in WebBorwser by default, you can add a value *.exe=1 (* means the process name)to the key HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_TABBED_BROWSING. This menu will only take effect after the application is restarted. See http://msdn.microsoft.com/en-us/library/ms537636(VS.85).aspx
DWebBrowserEvents2 Interface designates an event sink interface that an application must implement to receive event notifications from the underlying ActiveX control, and there is a NewWindow3 Event in this interface. See http://msdn.microsoft.com/en-us/library/aa768283(VS.85).aspx
For detailed introduction of the sample, please read the documentation at http://code.msdn.microsoft.com/VBTabbedWebBrowser-f0c0a525
No comments:
Post a Comment