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.
The IColumnManager interface inherits from the IUnknown interface. IColumnManager also has these types of members:
The IColumnManager interface has these methods.
Gets the column count for either the visible columns or the complete set of columns.
Gets information about each column:_width, visibility, display name, and state.
Gets an array of PROPERTYKEY structures that represent the columns that the view supports. Includes either all columns or only those currently visible.
Sets the state for a specified column.
Sets the collection of columns for the view to display.
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.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|