DOC: ModifyDesktopItem Fails To Modify Friendly Name

ID: Q184782

The information in this article applies to:

SUMMARY

To modify the friendly name of a desktop item, the Internet Client SDK documentation for the IActiveDesktop ModifyDesktopItem method implies that all that is necessary is to pass the new name in the COMPONENT structure along with an appropriate AD_APPLY_* flag. If this is done, the friendly name will not change.

To change the friendly name either the flag COMP_ELEM_FRIENDLYNAME* or COMP_ELEM_ALL must be passed to the ModifyDesktopItem method and a subsequent call made to the IActiveDesktop ApplyChanges method. The COMP_ELEM_* flags are defined in the header file Shlobj.h.

Keywords          : kbdocfix kbIE400 kbIE401 InetSDKActiveDeskt 
Version           : WINDOWS:4.0,4.01
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbpending

Last Reviewed: January 9, 1999