BCGControlBar Pro for MFC
int CBCGPGridCtrl::GetHeaderAlign ( int  nCol) const

Retrieves text justification flag of the column header item.

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.
nColThe zero-based index of column.