|
CGridListCtrlEx
|
CGridRowTraitXP fixes drawing of rows when the application is using classic- or XP-style. More...
Public Member Functions | |
| virtual void | OnCustomDraw (CGridListCtrlEx &owner, NMLVCUSTOMDRAW *pLVCD, LRESULT *pResult) |
| Overrides the custom draw handler, to allow custom coloring of rows. More... | |
Public Member Functions inherited from CGridRowTraitText | |
| CGridRowTraitText () | |
| CGridRowTraitText - Constructor. | |
| void | SetRowColor (COLORREF textColor, COLORREF backColor) |
| Sets the same row coloring for all rows. More... | |
| void | SetAltRowColor (COLORREF textColor, COLORREF backColor) |
| Activates alternate row coloring. More... | |
| void | SetInvertCellSelection (bool bValue) |
| Should focus-cell in a selected row have the selection-color removed. More... | |
| bool | GetInvertCellSelection () const |
| Get whether focus-cell in a selected row should have the selection-color removed. More... | |
Protected Member Functions | |
| virtual void | Accept (CGridRowTraitVisitor &visitor) |
| Accept Visitor Pattern. | |
Protected Member Functions inherited from CGridRowTraitText | |
| virtual bool | UpdateTextColor (int nRow, COLORREF &textColor) |
| Changes the text color if one is specified. More... | |
| virtual bool | UpdateBackColor (int nRow, COLORREF &backColor) |
| Changes the background color if one is specified. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CGridRowTraitText | |
| COLORREF | m_TextColor |
| Text color to use for this row. | |
| COLORREF | m_BackColor |
| Background color to use for this row. | |
| COLORREF | m_AltTextColor |
| Alternate text color to use for every second row. | |
| COLORREF | m_AltBackColor |
| Alternate background color to use for every second row. | |
| bool | m_InvertCellSelection |
| When cell has focus in column, then the selection color is removed. | |
CGridRowTraitXP fixes drawing of rows when the application is using classic- or XP-style.
|
virtual |
Overrides the custom draw handler, to allow custom coloring of rows.
| owner | The list control drawing |
| pLVCD | Pointer to NMLVCUSTOMDRAW structure |
| pResult | Modification to the drawing stage (CDRF_NEWFONT, etc.) |
Reimplemented from CGridRowTraitText.
1.8.11