DOC: window.external Supports All Methods of ShellUIHelper (183339)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Internet Explorer (Programming) 4.01

This article was previously published under Q183339

SUMMARY

The Internet Client SDK (InetSDK) documentation for Internet Explorer 4.0 documents the following legal methods supported by default by the window.external object:
  • addChannel
  • isSubscribed
The window.external object also supports the other methods implemented by the ShellUIHelper object:
  • addFavorite
  • addDesktopComponent

MORE INFORMATION

Refer to the ShellUIHelper documentation in the InetSDK for more information on these extra methods.

The following HTML page demonstrates how to bring up the "Add To Favorites" dialog box when the page is visited:
<HTML>
<HEAD>
   <TITLE>Add a Favorite</TITLE>
</HEAD>
<BODY>
   <SCRIPT FOR=window EVENT=onLoad LANGUAGE=VBSCRIPT>
      window.external.AddFavorite "http://www.microsoft.com", "FavTitle"
   </SCRIPT>
</BODY>
</HTML>
				

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

182034 HOWTO: Invoke the Add to Favorites Dialog Box in IE4





Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbbug kbdocfix kbfix KB183339