Products we use.
We use and recommend following products. If you know of a better product let us know and we will review it. Click on the Logos for more information.
Called to get the background color of the cell. The default implementation returns COLORREF(-1) which means that the default background color (depending on whether the cell is selected) should be used.
virtualCOLORREF OnGridCellQueryBackColor( const CExtGridCell & _cell, const CDC & dc, LONG nVisibleColNo, LONG nVisibleRowNo, LONG nColNo, LONG nRowNo, INT nColType, INT nRowType, DWORD dwAreaFlags, DWORD dwHelperPaintFlags ) const;
Parameters
- _cell
- Reference to the cell object.
- dc
- Device context on which cell is being painted.
- nVisibleColNo
- Column index relative to the first visible column on the left.
- nVisibleRowNo
- Row index relative to the first visible row at the top.
- nColNo
- Column index.
- nRowNo
- Row index.
- nColType
- Type of the column (0 - inner column, -1 - outer column on left, 1 - outer column on right).
- nRowType
- Type of the row (0 - inner row, -1 - outer row at top, 1 - outer row at bottom).
- dwAreaFlags
- Specifies the type of the rectangular area; this parameter is a set of __EGBWA_* values of the hit-test object.
- dwHelperPaintFlags
- Specifies a set of the __EGCPF_* flags that provide the painting algorithm with additional information on hovering, highlighting and drag-and-drop.