|| | |||Browse by category|
How can I determine the attributes of a cell?
Call ComposeStyleRowCol() to get all attributes for a cell (filled with standard settings).
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
Article ID: 412
Last updated: 27 Apr, 2018
Posted: 09 Jan, 2001 by Meltreger B.
Updated: 27 Apr, 2018 by Meltreger B.
Others in this category
Objective Grid: Can CGXRecordInfoWnd and CGXRecordInfoSplitterWnd be used with other grids besides the browser grids?
Objective Grid: How can I programmatically change the record number that is displayed in the record field of the CGXRecordInfoWnd?