How can I determine the attributes of a cell?

Call ComposeStyleRowCol to get all attributes for a cell (filled with standard settings).

Example:

   CGXStyle style;
   ComposeStyleRowCol(nRow, nCol, &style);

If you only want to get those settings that are specific to the cell and disregard standard settings call GetStyleRowCol() instead.

Example:

   CGXStyle style;
   GetStyleRowCol(nRow, nCol, &style);
   // test if the specific attribute has been changed for that cell
   if (style.GetIncludeInterior())
      ...
   else
      // Cell uses the default background color