BCGSuite for MFC
int CBCGPGridCtrl::GetHeaderAlign ( int  nCol) const

Retrieves text justification flag of the column header item.

Returns
Text justification flag of column if successful; otherwise - HDF_LEFT.

May be one of the following values:

  • HDF_CENTER: the header's contents are centered.
  • HDF_LEFT: the header 's contents are left-aligned.
  • HDF_RIGHT: The header 's contents are right-aligned.
Parameters
nColThe zero-based index of column.