IHeaderCtrl::SetColumnText
[This is preliminary documentation and subject to change.] 
Sets the text of the title in a specific column.
HRESULT SetColumnText(
  int nCol,      // Zero-based index of the column
  LPCWSTR title  // Title of the column
);
 
Parameters
- 
nCol
- 
[in] Zero-based index specifying the location of the column.
- 
title
- 
[in] Pointer to the string representing the title of the column being inserted. 
Return Values
- 
S_OK
- 
The title text was successfully set.
- 
E_UNEXPECTED
- 
The current result view is not the console-provided default view.
- 
E_INVALIDARG
- 
The title parameter is NULL or empty (""), or nCol is invalid.
See Also
IHeaderCtrl