IHeaderCtrl::SetColumnText method (mmc.h)

Sets the text of the title in a specific column.

Syntax

HRESULT SetColumnText(
  [in] int     nCol,
  [in] LPCWSTR title
);

Parameters

[in] nCol

A zero-based index that specifies the location of the column.

[in] title

A pointer to the string that represents the title of the column being inserted. This string can have a maximum length of MAX_PATH characters.

Return value

This method can return one of these values.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h
DLL Mmcndmgr.dll

See also

IHeaderCtrl