IFolderViewOptions interface (shobjidl.h)

Exposes methods that allow control of folder view options specific to the Windows 7 and later views.

Inheritance

The IFolderViewOptions interface inherits from the IUnknown interface. IFolderViewOptions also has these types of members:

Methods

The IFolderViewOptions interface has these methods.

 
IFolderViewOptions::GetFolderViewOptions

Retrieves the current set of options for the view.
IFolderViewOptions::SetFolderViewOptions

Sets specified options for the view.

Remarks

When to Implement

An implementation of this interface is provided with Windows as part of CLSID_ExplorerBrowser and CLSID_ShellBrowser. Third parties do not implement this interface.

When to Use

By default, the Windows 7 item view does not support custom positioning, custom ordering, or hyperlinks, which were supported in the Windows Vista list view. Use this interface when you require those features of the older view. If, at some later time, the item view adds support for those features, these options will automatically use the newer view rather than continuing to revert to the older view as they currently do.

Use this interface to turn off animation and scroll tip view options new to Windows 7.

Use this interface to retrieve the current view settings for all of those options.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header shobjidl.h