WebViewFolderContents object

Implemented by the Shell for use inside a WebView. WebViewFolderContents automatically initializes itself to WebView's current folder. It creates a Shell folder view that displays the contents of the folder in one of five formats: Small Icon, Large Icon, List, Details, or Thumbnail. It is not valid outside of a WebView.

The methods and properties exposed by WebViewFolderContents are identical to those of the ShellFolderView object.

Members

The WebViewFolderContents object has these types of members:

Events

The WebViewFolderContents object has these events.

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

Methods

The WebViewFolderContents 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 WebViewFolderContents object has these properties.

Property Access type Description
Application
Read-only
Not implemented.
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
Gets the scripting object for the view.
ViewOptions
Read-only
Gets a set of ShellFolderViewOptions 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)