AddDesktopComponent method (external)
Adds an item (image or website with location) to the Microsoft Active Desktop.
Active Desktop needs to be installed in the user's computer for the AddDesktopComponent method to work. The Active Desktop has limited functionality (does not support the AddDesktopComponent method) on Windows XP with SP2 and it is removed from Windows Vista.
You can find the related objects in the Supported by objects section below.
|Required. String that specifies the location of a Web site or image.|
Required. String that specifies the type of the item to add.
One of the following values:
|Optional. Integer that sets the left position.|
|Optional. Integer that sets the top position.|
|Optional. Integer that sets the width of the item.|
|Optional. Integer that sets the height of the item.|
This method has no return value.
Example HTML code 1:
This example illustrates the use of the AddDesktopComponent method:
Did you find this example helpful?
User Contributed Comments