ShellFolderView object

Represents the objects in a view and provides properties and methods used to obtain information about the contents of the view.

Members

The ShellFolderView object has these types of members:

Events

The ShellFolderView object has these events.

Event Description
SelectionChanged Occurs when the selection state of any item or items in the view has changed.

 

Methods

The ShellFolderView object has these methods.

Method Description
PopupItemMenu Creates a shortcut menu for the specified item and returns the selected command string.
SelectedItems Gets a FolderItems object that represents all of the selected items in the view.
SelectItem Sets the selection state of an item in the view.

 

Properties

The ShellFolderView object has these properties.

Property Access type Description
Application
Read-only
Contains the object's Application object.
FocusedItem
Read-only
Gets a FolderItem object that represents the item that has the input focus.
Folder
Read-only
Gets a Folder object that represents the view.
Parent
Read-only
Not implemented.
Script
Read-only
Deprecated.
ViewOptions
Read-only
Gets a set of flags that indicate the current options of the view.

 

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll (version 4.71 or later)
IID
CLSID_ShellFolderView

See also

ShellFolderViewOptions Flags