Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

New items added to DefView may no be sorted


View products that this article applies to.

Summary

Shell namespace extensions generate a SHCNE_CREATE notification when a new item is added to a folder. The new item is added to the view window of any open browser windows displaying the contents of the parent folder of the new item when the SHCNE_CREATE notification is processed. However, in namespace extensions that uses the default shell view implementation (DefView) the new item is appended at the end of the list of items already displayed in the view window instead of being sorted based on the current sort criteria.

↑ Back to the top


More Information

In addition to generating a SHCNE_CREATE notification, a namespace extension can also generate a SHCNE_UPDATEDIR notification to notify the view window that the contents of the shell folder have changed. Although the contents of the view are sorted, generating a SHCNE_UPDATEDIR notification can be an expensive operation for some shell namespace extensions as DefView re-enumerates the contents of the shell folder when handling a SHCNE_UPDATEDIR notification.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2651990
Revision : 1
Created on : 1/7/2017
Published on : 12/8/2011
Exists online : False
Views : 790