IColumnManager interface

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.

Members

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

Methods

The IColumnManager interface has these methods.

MethodDescription
GetColumnCount

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

GetColumnInfo

Gets information about each column: width, visibility, display name, and state.

GetColumns

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

SetColumnInfo

Sets the state for a specified column.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.0 or later)

See also

IFolderView2

 

 

Show: