Microsoft SDK for Java

AddDesktopComponent

This method of the IShellUIHelper interface adds an item to the Microsoft® Active Desktop™.

Syntax

public void AddDesktopComponent(java.lang.String URL,
java.lang.String Type, com.ms.com.Variant Left,
com.ms.com.Variant Top, com.ms.com.Variant Width,
com.ms.com.Variant Height);

Parameters

URL The string value that contains the URL of the desktop item.
Type The string value that contains the desktop item type.
Left The address of a VARIANT structure that contains the coordinate of the left edge of the desktop item. Passing this address is optional.
Top The address of a VARIANT structure that contains the coordinate of the top edge of the desktop item. Passing this address is optional.
Width The address of a VARIANT structure that contains the width of the desktop item. Passing this address is optional.
Height The address of a VARIANT structure that contains the height of the desktop item. Passing this address is optional.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.