IFolderView 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.


The IFolderView interface has these methods.

Method Description
IFolderView::GetAutoArrange Gets the current state of the folder's Auto Arrange mode.
IFolderView::GetCurrentViewMode Gets an address containing a value representing the folder's current view mode.
IFolderView::GetDefaultSpacing Gets a pointer to a POINT structure containing the default width (x) and height (y) measurements of an item, including the surrounding white space.
IFolderView::GetFocusedItem Gets the index of the item that currently has focus in the folder's view.
IFolderView::GetFolder Gets the folder object.
IFolderView::GetItemPosition Gets the position of an item in the folder's view.
IFolderView::GetSelectionMarkedItem Gets the index of an item in the folder's view which has been marked by using the SVSI_SELECTIONMARK in IFolderView::SelectItem.
IFolderView::GetSpacing Gets a POINT structure containing the width (x) and height (y) dimensions, including the surrounding white space, of an item.
IFolderView::Item Gets the identifier of a specific item in the folder view, by index.
IFolderView::ItemCount Gets the number of items in the folder. This can be the number of all items, or a subset such as the number of selected items.
IFolderView::Items Gets the address of an enumeration object based on the collection of items in the folder view.
IFolderView::SelectAndPositionItems Allows the selection and positioning of items visible in the folder's view.
IFolderView::SelectItem Selects an item in the folder's view.
IFolderView::SetCurrentViewMode Sets the selected folder's view mode.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)