Serialization | |
| void | Serialize (CArchive &ar) |
| Serializes/Deserializes data to/from the archive. | |
| static int | GetSerializeVertion () |
| Gets current serialization version. | |
Public Member Functions | |
| CAppearance () | |
| Constructor. | |
| CAppearance (const CAppearance &appearance) | |
| Copy constructor. | |
| bool | IsVerticalLinesEnabled () const |
| Indicates whether the grid can draw vertical lines between columns. | |
| bool | IsHorizontalLinesEnabled () const |
| Indicates whether the grid can draw horizontal lines between rows. | |
| void | EnableVerticalLines (bool bEnable) |
| Enables to draw vertical lines between columns. | |
| void | EnableHorizontalLines (bool bEnable) |
| Enables to draw horizontal lines between rows. | |
Get methods | |
| COLORREF | GetTextEvenColor () const |
| Gets even text color. | |
| COLORREF | GetTextOddColor () const |
| Gets odd text color. | |
| COLORREF | GetBackEvenColor () const |
| Gets even background color. | |
| COLORREF | GetBackOddColor () const |
| Gets odd background color. | |
| COLORREF | GetVerticalLinesColor () const |
| Gets color of vertical lines. | |
| COLORREF | GetHorizontalLinesColor () const |
| Gets color of horizontal lines. | |
| const CColorBlend | GetSelectedLineColor () const |
| Gets selected line color which is blended with background color. | |
| const CColorBlend | GetFocusedLineColor () const |
| Gets focused line color which is blended with background color. | |
| const CColorBlend | GetSortedColumnColor () const |
| Gets sorted column color which is blended with background color. | |
| const CColorBlend | GetMouseSelectionColor () const |
| Gets color of the rectangle selected by the mouse which is blended with background color. | |
Set methods | |
| void | SetTextEvenColor (COLORREF color) |
| Sets even text color. | |
| void | SetTextOddColor (COLORREF color) |
| Sets odd text color. | |
| void | SetBackEvenColor (COLORREF color) |
| Sets even background color. | |
| void | SetBackOddColor (COLORREF color) |
| Sets odd background color. | |
| void | SetVerticalLinesColor (COLORREF color) |
| Sets color of vertical lines. | |
| void | SetHorizontalLinesColor (COLORREF color) |
| Sets color of horizontal lines. | |
| void | SetSelectedLineColor (CColorBlend color) |
| Sets a new color for the selected line which is blended with background color. | |
| void | SetFocusedLineColor (CColorBlend color) |
| Sets a new color for the focused line which is blended with background color. | |
| void | SetSortedColumnColor (CColorBlend color) |
| Sets a new color for the sorted column which is blended with background color. | |
| void | SetMouseSelectionColor (CColorBlend color) |
| Sets a new color of the rectangle selected by the mouse which is blended with background color. | |
| COLORREF GetTextEvenColor | ( | ) | const [inline] |
Gets even text color.
| COLORREF GetTextOddColor | ( | ) | const [inline] |
Gets odd text color.
| COLORREF GetBackEvenColor | ( | ) | const [inline] |
Gets even background color.
| COLORREF GetBackOddColor | ( | ) | const [inline] |
Gets odd background color.
| COLORREF GetVerticalLinesColor | ( | ) | const [inline] |
Gets color of vertical lines.
| COLORREF GetHorizontalLinesColor | ( | ) | const [inline] |
Gets color of horizontal lines.
| const CColorBlend GetSelectedLineColor | ( | ) | const [inline] |
Gets selected line color which is blended with background color.
| const CColorBlend GetFocusedLineColor | ( | ) | const [inline] |
Gets focused line color which is blended with background color.
| const CColorBlend GetSortedColumnColor | ( | ) | const [inline] |
Gets sorted column color which is blended with background color.
| const CColorBlend GetMouseSelectionColor | ( | ) | const [inline] |
Gets color of the rectangle selected by the mouse which is blended with background color.
| void SetTextEvenColor | ( | COLORREF | color | ) | [inline] |
Sets even text color.
| [in] | color | A new color |
| void SetTextOddColor | ( | COLORREF | color | ) | [inline] |
Sets odd text color.
| [in] | color | A new color |
| void SetBackEvenColor | ( | COLORREF | color | ) | [inline] |
Sets even background color.
| [in] | color | A new color |
| void SetBackOddColor | ( | COLORREF | color | ) | [inline] |
Sets odd background color.
| [in] | color | A new color |
| void SetVerticalLinesColor | ( | COLORREF | color | ) | [inline] |
Sets color of vertical lines.
| [in] | color | A new color |
| void SetHorizontalLinesColor | ( | COLORREF | color | ) | [inline] |
Sets color of horizontal lines.
| [in] | color | A new color |
| void SetSelectedLineColor | ( | CColorBlend | color | ) | [inline] |
Sets a new color for the selected line which is blended with background color.
| [in] | color | A new color and an alpha coefficient to blend selection with background color |
| void SetFocusedLineColor | ( | CColorBlend | color | ) | [inline] |
Sets a new color for the focused line which is blended with background color.
| [in] | color | A new color and an alpha coefficient to blend the focused line with background color |
| void SetSortedColumnColor | ( | CColorBlend | color | ) | [inline] |
Sets a new color for the sorted column which is blended with background color.
| [in] | color | A new color and an alpha coefficient to blend the sorted column with background color |
| void SetMouseSelectionColor | ( | CColorBlend | color | ) | [inline] |
Sets a new color of the rectangle selected by the mouse which is blended with background color.
| [in] | color | A new color and an alpha coefficient to blend the rectangle, selected by the mouse with background color |
| int GetSerializeVertion | ( | ) | [static] |
Gets current serialization version.
| void Serialize | ( | CArchive & | ar | ) |
Serializes/Deserializes data to/from the archive.
| [in] | ar | Archive to serialize/deserialize this object. |
| Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |