The information in this article applies to:
SYMPTOMSCalling IActiveDesktop::AddDesktopItem with a COMPONENT structure containing the component type COMP_TYPE_HTMLDOC causes the added component to appear in the Active Desktop component Preview property sheet page, but not on the Desktop itself. RESOLUTIONInstead of the COMP_TYPE_HTMLDOC type, specify the component type COMP_TYPE_WEBSITE in the COMPONENT structure. Using the IActiveDesktop::AddURL method with the COMP_TYPE_HTMLDOC flag instead of IActiveDesktop::AddDesktopItem also works. STATUSThis behavior is by design. MORE INFORMATION
The component types defined for the IActiveDesktop COMPONENT structure
indicates the type of the component to the Active Deskttop. When adding an
HTML document to the Active Desktop it is natural to assume that
COMP_TYPE_HTMLDOC is the correct value to use in the COMPONENT structure's
iComponentType element. If COMP_TYPE_HTMLDOC is used the HTML document will
not appear as a component of the Active Desktop although it will appear in
the ActiveDesktop property sheet preview pane (right-click the desktop and
choose Active Desktop followed by Customize my Desktop).
REFERENCESFor more information, please see the MSDN Web Workshop: http://msdn.microsoft.com/workshop/default.asp Additional query words:
Keywords : kbActiveDesktop kbIE401 kbIE401sp1 kbIE500 |
Last Reviewed: May 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |