AddDesktopComponent MethodAddDesktopComponent Method*
*Contents  *Index  *Topic Contents
*Previous Topic: AddChannel Method
*Next Topic: AddFavorite Method

AddDesktopComponent Method

Description

Adds an item to the Active Desktop.

Syntax

object.AddDesktopComponent URL, Type, Left, Top, Width, Height

ParameterDescription
object Required. An object expression that evaluates to a ShellUIHelper object.
URL Required. A string value that specifies the URL of the new favorite item.
Type Required. A string value that specifies the type of item being added. This can be one of the following values:
"image" The component is an image.
"website" The component is a web site.
Left Optional. Specifies the position of the left edge of the component, in screen coordinates.
Top Optional. Specifies the position of the top edge of the component, in screen coordinates.
Width Optional. Specifies the width of the component, in screen units.
Height Optional. Specifies the height of the component, in screen units.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.