IColumnManager interface (shobjidl_core.h)

Exposes methods that enable inspection and manipulation of columns in the Windows Explorer Details view. Each column is referenced by a PROPERTYKEY structure, which names a property.

Inheritance

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

Methods

The IColumnManager interface has these methods.

 
IColumnManager::GetColumnCount

Gets the column count for either the visible columns or the complete set of columns.
IColumnManager::GetColumnInfo

Gets information about each column:_width, visibility, display name, and state.
IColumnManager::GetColumns

Gets an array of PROPERTYKEY structures that represent the columns that the view supports. Includes either all columns or only those currently visible.
IColumnManager::SetColumnInfo

Sets the state for a specified column.
IColumnManager::SetColumns

Sets the collection of columns for the view to display.

Remarks

This interface can be accessed even when the Windows Explorer window is in a non-column view mode such as icons, thumbnails, or tiles. It affects those views, as well as views in which the column header control displays the set of columns to which IColumnManager provides access.

The default implementation of the Windows Explorer view object, created by SHCreateShellFolderViewEx, supports this interface retrieved through QueryInterface. Code that runs in the Windows Explorer (such as view callbacks, context menus or drop targets) can access the view object using IServiceProvider::QueryService, querying for SID_SFolderView.

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)

See also

IFolderView2