BUG: Selected Namespace Extension Folders Do Not Expand in Windows Explorer Tree View (315976)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows XP
This article was previously published under Q315976 SYMPTOMS
When you select a folder that belongs to a namespace extension in Windows Explorer tree view, the folder does not expand as expected. Additionally, the plus sign (+) or minus sign (-) next to the folder disappears.
CAUSE
Windows Explorer tree view uses the TVS_SINGLEEXPAND style, in which the item that you select is expanded and the item for which you clear the selection is collapsed. A TVN_ITEMEXPANDING notification is generated when you expand a node in a tree-view control.
When Windows Explorer handles the TVN_ITEMEXPANDING notification for a folder that belongs to a namespace extension, it does not call the folder's IShellFolder::EnumObjects method to enumerate the folder's subfolders, even if the folder has the SFGAO_HASSUBFOLDER attribute.
Because tree view does not display any subfolders for the selected folder when the expansion occurs, the plus sign or minus sign next to the selected folder is removed. There is currently no resolution for this issue. However, when you click the folder's plus sign or minus sign before you select the folder, the folder expands correctly.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | kbbug kbNameSpace kbpending kbShellGrp KB315976 |
---|
|