The ShellFolderView object represents the objects in a view. There are properties and methods used to obtain information about the contents of the view.
| Property | Description |
|---|---|
| Application | Contains the object's Application object. Read-only. |
| FocusedItem | Contains a FolderItem object that represents the item that has the input focus. Read-only. |
| Folder | Contains a Folder object that represents the view. Read-only. |
| Parent | Contains the object's parent object. Read-only. |
| Script | Contains the scripting object for the view. Read-only. |
| ViewOptions | Contains a set of ShellFolderViewOptions flags that indicate the current options of the view. Read only. |
| Method | Description |
|---|---|
| PopupItemMenu | Creates a context menu for an item and returns the selected command string. |
| SelectedItems | Retrieves a FolderItems object that represents all of the selected items in the view. |
| SelectItem | Sets the selection state of an item in the view. |
| Event | Description |
|---|---|
| SelectionChanged | The selection state of any item or items in the view has changed |
| Constant | Description |
|---|---|
| ShellFolderViewOptions | Specifies the view options returned by the ViewOptions property. |
Version 4.71 and later of Shell32.dll
Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later).