DOC: window.external Supports All Methods of ShellUIHelper

ID: Q183339


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) versions 4.0, 4.01


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:

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


For information about the ShellUIHelper Object refer to the Internet Client SDK. Search on: Internet Tools & Technologies; Windows Shell API; Shell Objects for Scripting and Visual Basic; ShellUIHelper; Methods -

http://www.microsoft.com/msdn/sdk/inetsdk/help/itt/Shell/Objects/ShellUIHel per/Methods.htm#shelluihelper_methods

© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Jason Strayer, Microsoft Corporation

Additional query words:

Keywords : kbdocfix kbIE400 kbIE401
Version : WINDOWS:4.0,4.01
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.