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

Retrieves text justification flag of the specified column in a grid control.

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

May be one of the following values:

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