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 text color of the cell. The default implementation returns the COLORREF(-1) value that causes using of default text color that depends on whether cell is in the selection range.
virtualbool OnGridPaintCellTextHook( bool bPostNotification, const CExtGridCell & _cell, const RECT & rcCellText, const CDC & dc, LONG nVisibleColNo, LONG nVisibleRowNo, LONG nColNo, LONG nRowNo, INT nColType, INT nRowType, const RECT & rcCellExtra, const RECT & rcCell, const RECT & rcVisibleRange, DWORD dwAreaFlags, DWORD dwHelperPaintFlags );
Parameters
- bPostNotification
- Specifies whether the method is invoked second time after text is painted.
- dc
- Device context for painting.
- _cell
- Reference to the cell object.
- nVisibleColNo
- Column index relative to the first visible column on left.
- nVisibleRowNo
- Row index relative to the first visible row at 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).
- rcCellExtra
- Rectangular area of the cell including extra outer spaces.
- rcCell
- Rectangular area of the cell which fit cell's data.
- rcVisibleRange
- Rectangle containing column and row numbers of the visible cell range.
- 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.