Microsoft KB Archive/184782

= DOC: ModifyDesktopItem Fails to Modify Friendly Name =

Article ID: 184782

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 Service Pack 2

-



This article was previously published under Q184782



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: kbbug kbdocfix kbpending KB184782

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.