IFolderView2 interface (shobjidl_core.h)

Exposes methods that retrieve information about a folder's display options, select specified items in that folder, and set the folder's view mode.

Inheritance

The IFolderView2 interface inherits from IFolderView. IFolderView2 also has these types of members:

Methods

The IFolderView2 interface has these methods.

 
IFolderView2::DoRename

Starts a rename operation on the current selection.
IFolderView2::GetCurrentFolderFlags

Gets the currently applied folder flags.
IFolderView2::GetGroupBy

Retrieves the property and sort order used for grouping items in the folder display.
IFolderView2::GetGroupSubsetCount

Gets the count of visible rows displayed for a group's subset.
IFolderView2::GetItem

Retrieves an object that represents a specified item.
IFolderView2::GetSelectedItem

Locates the currently selected item at or after a given index.
IFolderView2::GetSelection

Gets the current selection as an IShellItemArray.
IFolderView2::GetSelectionState

Gets the selection state including check state.
IFolderView2::GetSortColumnCount

Gets the count of sort columns currently applied to the view.
IFolderView2::GetSortColumns

Gets the sort columns currently applied to the view.
IFolderView2::GetViewModeAndIconSize

Gets the current view mode and icon size applied to the view.
IFolderView2::GetViewProperty

Gets a property value for a given property key from the view's cache.
IFolderView2::GetVisibleItem

Gets the next visible item in relation to a given index in the view.
IFolderView2::InvokeVerbOnSelection

Invokes the given verb on the current selection.
IFolderView2::IsMoveInSameFolder

Checks to see if this view sourced the current drag-and-drop or cut-and-paste operation (used by drop target objects).
IFolderView2::SetCurrentFolderFlags

Sets and applies specified folder flags.
IFolderView2::SetExtendedTileViewProperties

Sets the list of extended tile properties for an item.
IFolderView2::SetGroupBy

Groups the view by the given property key and direction.
IFolderView2::SetGroupSubsetCount

Turns on group subsetting and sets the number of visible rows of items in each group.
IFolderView2::SetRedraw

Sets redraw on and off.
IFolderView2::SetSortColumns

Sets and sorts the view by the given sort columns.
IFolderView2::SetText

Sets the default text to be used when there are no items in the view.
IFolderView2::SetTileViewProperties

Set the list of tile properties for an item.
IFolderView2::SetViewModeAndIconSize

Sets and applies the view mode and image size.
IFolderView2::SetViewProperty

Caches a property for an item in the view's property cache.

Remarks

This interface also provides the methods of the IFolderView interface, from which it inherits.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)