IShellFolderView interface

[IShellFolderView is no longer available for use as of Windows 7. Instead, use IFolderView2 and IFolderView.]

Exposes methods that manipulate Shell folder views.

Methods

The IShellFolderView interface has these methods.

Method Description
IShellFolderView::AddObject AddObject may be altered or unavailable.
IShellFolderView::ArrangeGrid Arranges moved icons so that they align to an invisible grid.
IShellFolderView::AutoArrange AutoArrange may be altered or unavailable.
IShellFolderView::GetArrangeParam Gets the arrangement parameter of the view, which is how the view has been sorted.
IShellFolderView::GetAutoArrange GetAutoArrange may be altered or unavailable.
IShellFolderView::GetDragPoint Gets the point at which the current drag-and-drop operation was initiated.
IShellFolderView::GetDropPoint Gets the point at which the current drag-and-drop operation was terminated.
IShellFolderView::GetItemSpacing Gets the spacing for small and large view modes only.
IShellFolderView::GetObject Gets an item from the view.
IShellFolderView::GetObjectCount Gets the number of items in the folder view.
IShellFolderView::GetSelectedCount Gets the number of items in the view that are selected.
IShellFolderView::GetSelectedObjects Gets an array of the objects in the view that are selected and the number of those objects.
IShellFolderView::IsBkDropTarget IsBkDropTarget may be altered or unavailable.
IShellFolderView::IsDropOnSource Checks whether the destination of the current drag-and-drop or cut-and-paste operation is the same as the source.
IShellFolderView::MoveIcons This method is not implemented.
IShellFolderView::QuerySupport QuerySupport may be altered or unavailable.
IShellFolderView::Rearrange Rearrange may be altered or unavailable.
IShellFolderView::RefreshObject RefreshObject may be altered or unavailable.
IShellFolderView::RemoveObject RemoveObject may be altered or unavailable.
IShellFolderView::Select IShellFolderView::Select may be altered or unavailable.
IShellFolderView::SetAutomationObject Replaces the internal automation object of the IShellView.
IShellFolderView::SetCallback IShellFolderView::SetCallback may be altered or unavailable.
IShellFolderView::SetClipboard SetClipboard may be altered or unavailable.
IShellFolderView::SetItemPos Sets the position of the given item.
IShellFolderView::SetObjectCount SetObjectCount is no longer available.
IShellFolderView::SetPoints SetPoints may be altered or unavailable.
IShellFolderView::SetRedraw Allows a view to be redrawn or prevents it from being redrawn.
IShellFolderView::UpdateObject UpdateObject may be altered or unavailable.

Remarks

IShellFolderView is supported by the IShellView object that is returned from SHCreateShellFolderViewEx. This object contains a ListView control and some of the methods on IShellFolderView directly manipulate this ListView control.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h