Export (0) Print
Expand All

IFolderView2 interface

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

Members

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

Methods

The IFolderView2 interface has these methods.

MethodDescription
DoRename

Starts a rename operation on the current selection.

GetCurrentFolderFlags

Gets the currently applied folder flags.

GetGroupBy

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

GetGroupSubsetCount

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

GetItem

Retrieves an object that represents a specified item.

GetSelectedItem

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

GetSelection

Gets the current selection as an IShellItemArray.

GetSelectionState

Gets the selection state including check state.

GetSortColumnCount

Gets the count of sort columns currently applied to the view.

GetSortColumns

Gets the sort columns currently applied to the view.

GetViewModeAndIconSize

Gets the current view mode and icon size applied to the view.

GetViewProperty

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

GetVisibleItem

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

InvokeVerbOnSelection

Invokes the given verb on the current selection.

IsMoveInSameFolder

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

SetCurrentFolderFlags

Sets and applies specified folder flags.

SetExtendedTileViewProperties
SetGroupBy

Groups the view by the given property key and direction.

SetGroupSubsetCount

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

SetRedraw

Sets redraw on and off.

SetSortColumns

Sets and sorts the view by the given sort columns.

SetText

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

SetTileViewProperties

Set the list of tile properties for an item.

SetViewModeAndIconSize

Sets and applies the view mode and image size.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft