#include <GridCell.h>


Public Member Functions | |
| CGridCell () | |
| virtual | ~CGridCell () |
| void | operator= (const CGridCell &cell) |
| virtual void | SetText (LPCTSTR szText) |
| virtual void | SetImage (int nImage) |
| virtual void | SetData (LPARAM lParam) |
| virtual void | SetGrid (CGridCtrl *pGrid) |
| virtual void | SetFormat (DWORD nFormat) |
| virtual void | SetTextClr (COLORREF clr) |
| virtual void | SetBackClr (COLORREF clr) |
| virtual void | SetFont (const LOGFONT *plf) |
| virtual void | SetMargin (UINT nMargin) |
| virtual CWnd * | GetEditWnd () const |
| virtual void | SetCoords (int, int) |
| virtual LPCTSTR | GetText () const |
| virtual int | GetImage () const |
| virtual LPARAM | GetData () const |
| virtual CGridCtrl * | GetGrid () const |
| virtual DWORD | GetFormat () const |
| virtual COLORREF | GetTextClr () const |
| virtual COLORREF | GetBackClr () const |
| virtual LOGFONT * | GetFont () const |
| virtual CFont * | GetFontObject () const |
| virtual UINT | GetMargin () const |
| virtual BOOL | IsEditing () const |
| virtual BOOL | IsDefaultFont () const |
| virtual void | Reset () |
| virtual BOOL | Edit (int nRow, int nCol, CRect rect, CPoint point, UINT nID, UINT nChar) |
| virtual void | EndEdit () |
Protected Member Functions | |
| virtual void | OnEndEdit () |
Protected Attributes | |
| CString | m_strText |
| LPARAM | m_lParam |
| int | m_nImage |
| DWORD | m_nFormat |
| COLORREF | m_crFgClr |
| COLORREF | m_crBkClr |
| LOGFONT * | m_plfFont |
| UINT | m_nMargin |
| BOOL | m_bEditing |
| CGridCtrl * | m_pGrid |
| CWnd * | m_pEditWnd |
Friends | |
| class | CGridCtrl |
Definition at line 39 of file GridCell.h.
| CGridCell::CGridCell | ( | ) |
Definition at line 50 of file GridCell.cpp.
| CGridCell::~CGridCell | ( | ) | [virtual] |
Definition at line 56 of file GridCell.cpp.
| BOOL CGridCell::Edit | ( | int | nRow, | |
| int | nCol, | |||
| CRect | rect, | |||
| CPoint | point, | |||
| UINT | nID, | |||
| UINT | nChar | |||
| ) | [virtual] |
Reimplemented from CGridCellBase.
Reimplemented in CGridCellCombo, CGridCellDateTime, CGridCellDouble, CGridCellMultiLine, CGridCellNumeric, and CGridURLCell.
Definition at line 169 of file GridCell.cpp.
| void CGridCell::EndEdit | ( | ) | [virtual] |
Reimplemented from CGridCellBase.
Reimplemented in CGridCellCombo, CGridCellDateTime, CGridCellMultiLine, and CGridCellNumeric.
Definition at line 202 of file GridCell.cpp.
| virtual COLORREF CGridCell::GetBackClr | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Definition at line 74 of file GridCell.h.
| virtual LPARAM CGridCell::GetData | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Definition at line 69 of file GridCell.h.
| virtual CWnd* CGridCell::GetEditWnd | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Reimplemented in CGridCellCombo, and CGridCellDateTime.
Definition at line 63 of file GridCell.h.
| LOGFONT * CGridCell::GetFont | ( | ) | const [virtual] |
Implements CGridCellBase.
Reimplemented in CGridDefaultCell.
Definition at line 104 of file GridCell.cpp.
| CFont * CGridCell::GetFontObject | ( | ) | const [virtual] |
Implements CGridCellBase.
Reimplemented in CGridDefaultCell.
Definition at line 118 of file GridCell.cpp.
| DWORD CGridCell::GetFormat | ( | ) | const [virtual] |
Implements CGridCellBase.
Definition at line 138 of file GridCell.cpp.
| virtual CGridCtrl* CGridCell::GetGrid | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Definition at line 70 of file GridCell.h.
| virtual int CGridCell::GetImage | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Definition at line 68 of file GridCell.h.
| UINT CGridCell::GetMargin | ( | ) | const [virtual] |
Implements CGridCellBase.
Definition at line 152 of file GridCell.cpp.
| virtual LPCTSTR CGridCell::GetText | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Definition at line 67 of file GridCell.h.
| virtual COLORREF CGridCell::GetTextClr | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Definition at line 73 of file GridCell.h.
| virtual BOOL CGridCell::IsDefaultFont | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Definition at line 80 of file GridCell.h.
| virtual BOOL CGridCell::IsEditing | ( | ) | const [inline, virtual] |
Implements CGridCellBase.
Definition at line 79 of file GridCell.h.
| void CGridCell::OnEndEdit | ( | ) | [protected, virtual] |
Reimplemented from CGridCellBase.
Definition at line 208 of file GridCell.cpp.
| void CGridCell::operator= | ( | const CGridCell & | cell | ) |
Definition at line 64 of file GridCell.cpp.
| void CGridCell::Reset | ( | ) | [virtual] |
Reimplemented from CGridCellBase.
Definition at line 69 of file GridCell.cpp.
| virtual void CGridCell::SetBackClr | ( | COLORREF | clr | ) | [inline, virtual] |
Implements CGridCellBase.
Definition at line 60 of file GridCell.h.
| virtual void CGridCell::SetCoords | ( | int | , | |
| int | ||||
| ) | [inline, virtual] |
Implements CGridCellBase.
Reimplemented in CGridDefaultCell.
Definition at line 64 of file GridCell.h.
| virtual void CGridCell::SetData | ( | LPARAM | lParam | ) | [inline, virtual] |
Implements CGridCellBase.
Reimplemented in CGridDefaultCell.
Definition at line 55 of file GridCell.h.
| void CGridCell::SetFont | ( | const LOGFONT * | plf | ) | [virtual] |
Implements CGridCellBase.
Reimplemented in CGridDefaultCell.
Definition at line 88 of file GridCell.cpp.
| virtual void CGridCell::SetFormat | ( | DWORD | nFormat | ) | [inline, virtual] |
Implements CGridCellBase.
Definition at line 58 of file GridCell.h.
| virtual void CGridCell::SetGrid | ( | CGridCtrl * | pGrid | ) | [inline, virtual] |
Implements CGridCellBase.
Definition at line 56 of file GridCell.h.
| virtual void CGridCell::SetImage | ( | int | nImage | ) | [inline, virtual] |
Implements CGridCellBase.
Definition at line 54 of file GridCell.h.
| virtual void CGridCell::SetMargin | ( | UINT | nMargin | ) | [inline, virtual] |
Implements CGridCellBase.
Definition at line 62 of file GridCell.h.
| virtual void CGridCell::SetText | ( | LPCTSTR | szText | ) | [inline, virtual] |
Implements CGridCellBase.
Definition at line 53 of file GridCell.h.
| virtual void CGridCell::SetTextClr | ( | COLORREF | clr | ) | [inline, virtual] |
Implements CGridCellBase.
Definition at line 59 of file GridCell.h.
friend class CGridCtrl [friend] |
Reimplemented from CGridCellBase.
Reimplemented in CGridCellCheck, CGridCellCombo, CGridCellComboBool, CGridCellDateTime, CGridCellDouble, and CGridCellMultiLine.
Definition at line 41 of file GridCell.h.
BOOL CGridCell::m_bEditing [protected] |
Definition at line 100 of file GridCell.h.
COLORREF CGridCell::m_crBkClr [protected] |
Definition at line 96 of file GridCell.h.
COLORREF CGridCell::m_crFgClr [protected] |
Definition at line 95 of file GridCell.h.
LPARAM CGridCell::m_lParam [protected] |
Definition at line 92 of file GridCell.h.
DWORD CGridCell::m_nFormat [protected] |
Definition at line 94 of file GridCell.h.
int CGridCell::m_nImage [protected] |
Definition at line 93 of file GridCell.h.
UINT CGridCell::m_nMargin [protected] |
Definition at line 98 of file GridCell.h.
CWnd* CGridCell::m_pEditWnd [protected] |
Definition at line 103 of file GridCell.h.
CGridCtrl* CGridCell::m_pGrid [protected] |
Definition at line 102 of file GridCell.h.
LOGFONT* CGridCell::m_plfFont [protected] |
Definition at line 97 of file GridCell.h.
CString CGridCell::m_strText [protected] |
Definition at line 91 of file GridCell.h.
1.6.3