#include <GridCellBase.h>

Public Member Functions | |
| CGridCellBase () | |
| virtual | ~CGridCellBase () |
| virtual void | SetText (LPCTSTR)=0 |
| virtual void | SetImage (int)=0 |
| virtual void | SetData (LPARAM)=0 |
| virtual void | SetState (DWORD nState) |
| virtual void | SetFormat (DWORD)=0 |
| virtual void | SetTextClr (COLORREF)=0 |
| virtual void | SetBackClr (COLORREF)=0 |
| virtual void | SetFont (const LOGFONT *)=0 |
| virtual void | SetMargin (UINT)=0 |
| virtual void | SetGrid (CGridCtrl *)=0 |
| virtual void | SetCoords (int, int)=0 |
| virtual LPCTSTR | GetText () const =0 |
| virtual LPCTSTR | GetTipText () const |
| virtual int | GetImage () const =0 |
| virtual LPARAM | GetData () const =0 |
| virtual DWORD | GetState () const |
| virtual DWORD | GetFormat () const =0 |
| virtual COLORREF | GetTextClr () const =0 |
| virtual COLORREF | GetBackClr () const =0 |
| virtual LOGFONT * | GetFont () const =0 |
| virtual CFont * | GetFontObject () const =0 |
| virtual CGridCtrl * | GetGrid () const =0 |
| virtual CWnd * | GetEditWnd () const =0 |
| virtual UINT | GetMargin () const =0 |
| virtual CGridCellBase * | GetDefaultCell () const |
| virtual BOOL | IsDefaultFont () const =0 |
| virtual BOOL | IsEditing () const =0 |
| virtual BOOL | IsFocused () const |
| virtual BOOL | IsFixed () const |
| virtual BOOL | IsFixedCol () const |
| virtual BOOL | IsFixedRow () const |
| virtual BOOL | IsSelected () const |
| virtual BOOL | IsReadOnly () const |
| virtual BOOL | IsModified () const |
| virtual BOOL | IsDropHighlighted () const |
| virtual void | operator= (const CGridCellBase &cell) |
| virtual void | Reset () |
| virtual BOOL | Draw (CDC *pDC, int nRow, int nCol, CRect rect, BOOL bEraseBkgnd=TRUE) |
| virtual BOOL | GetTextRect (LPRECT pRect) |
| virtual BOOL | GetTipTextRect (LPRECT pRect) |
| virtual CSize | GetTextExtent (LPCTSTR str, CDC *pDC=NULL) |
| virtual CSize | GetCellExtent (CDC *pDC) |
| virtual BOOL | Edit (int, int, CRect, CPoint, UINT, UINT) |
| virtual BOOL | ValidateEdit (LPCTSTR str) |
| virtual void | EndEdit () |
| virtual BOOL | PrintCell (CDC *pDC, int nRow, int nCol, CRect rect) |
| LRESULT | SendMessageToParent (int nRow, int nCol, int nMessage) |
Protected Member Functions | |
| virtual void | OnEndEdit () |
| virtual void | OnMouseEnter () |
| virtual void | OnMouseOver () |
| virtual void | OnMouseLeave () |
| virtual void | OnClick (CPoint PointCellRelative) |
| virtual void | OnClickDown (CPoint PointCellRelative) |
| virtual void | OnRClick (CPoint PointCellRelative) |
| virtual void | OnDblClick (CPoint PointCellRelative) |
| virtual BOOL | OnSetCursor () |
Protected Attributes | |
| DWORD | m_nState |
Friends | |
| class | CGridCtrl |
Definition at line 77 of file GridCellBase.h.
| CGridCellBase::CGridCellBase | ( | ) |
Definition at line 59 of file GridCellBase.cpp.
| CGridCellBase::~CGridCellBase | ( | ) | [virtual] |
Definition at line 64 of file GridCellBase.cpp.
| BOOL CGridCellBase::Draw | ( | CDC * | pDC, | |
| int | nRow, | |||
| int | nCol, | |||
| CRect | rect, | |||
| BOOL | bEraseBkgnd = TRUE | |||
| ) | [virtual] |
Reimplemented in CGridCellCheck, CGridCellCombo, CGridCellMultiLine, and CGridURLCell.
Definition at line 112 of file GridCellBase.cpp.
| virtual BOOL CGridCellBase::Edit | ( | int | , | |
| int | , | |||
| CRect | , | |||
| CPoint | , | |||
| UINT | , | |||
| UINT | ||||
| ) | [inline, virtual] |
Reimplemented in CGridCell, CGridCellCombo, CGridCellDateTime, CGridCellDouble, CGridCellMultiLine, CGridCellNumeric, and CGridURLCell.
Definition at line 143 of file GridCellBase.h.
| virtual void CGridCellBase::EndEdit | ( | ) | [inline, virtual] |
Reimplemented in CGridCell, CGridCellCombo, CGridCellDateTime, CGridCellMultiLine, and CGridCellNumeric.
Definition at line 146 of file GridCellBase.h.
| virtual COLORREF CGridCellBase::GetBackClr | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| CSize CGridCellBase::GetCellExtent | ( | CDC * | pDC | ) | [virtual] |
Reimplemented in CGridCellCheck, and CGridCellCombo.
Definition at line 562 of file GridCellBase.cpp.
| virtual LPARAM CGridCellBase::GetData | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| CGridCellBase * CGridCellBase::GetDefaultCell | ( | ) | const [virtual] |
Definition at line 97 of file GridCellBase.cpp.
| virtual CWnd* CGridCellBase::GetEditWnd | ( | ) | const [pure virtual] |
Implemented in CGridCell, CGridCellCombo, and CGridCellDateTime.
| virtual LOGFONT* CGridCellBase::GetFont | ( | ) | const [pure virtual] |
Implemented in CGridCell, and CGridDefaultCell.
| virtual CFont* CGridCellBase::GetFontObject | ( | ) | const [pure virtual] |
Implemented in CGridCell, and CGridDefaultCell.
| virtual DWORD CGridCellBase::GetFormat | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| virtual int CGridCellBase::GetImage | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| virtual UINT CGridCellBase::GetMargin | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| virtual DWORD CGridCellBase::GetState | ( | void | ) | const [inline, virtual] |
Reimplemented in CGridDefaultCell.
Definition at line 105 of file GridCellBase.h.
| virtual LPCTSTR CGridCellBase::GetText | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| virtual COLORREF CGridCellBase::GetTextClr | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| CSize CGridCellBase::GetTextExtent | ( | LPCTSTR | str, | |
| CDC * | pDC = NULL | |||
| ) | [virtual] |
Definition at line 483 of file GridCellBase.cpp.
| BOOL CGridCellBase::GetTextRect | ( | LPRECT | pRect | ) | [virtual] |
Reimplemented in CGridCellCheck.
Definition at line 463 of file GridCellBase.cpp.
| virtual LPCTSTR CGridCellBase::GetTipText | ( | ) | const [inline, virtual] |
Definition at line 102 of file GridCellBase.h.
| virtual BOOL CGridCellBase::GetTipTextRect | ( | LPRECT | pRect | ) | [inline, virtual] |
Definition at line 138 of file GridCellBase.h.
| virtual BOOL CGridCellBase::IsDefaultFont | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| virtual BOOL CGridCellBase::IsDropHighlighted | ( | ) | const [inline, virtual] |
Definition at line 126 of file GridCellBase.h.
| virtual BOOL CGridCellBase::IsEditing | ( | ) | const [pure virtual] |
Implemented in CGridCell.
| virtual BOOL CGridCellBase::IsFixed | ( | void | ) | const [inline, virtual] |
Definition at line 120 of file GridCellBase.h.
| virtual BOOL CGridCellBase::IsFixedCol | ( | ) | const [inline, virtual] |
Definition at line 121 of file GridCellBase.h.
| virtual BOOL CGridCellBase::IsFixedRow | ( | ) | const [inline, virtual] |
Definition at line 122 of file GridCellBase.h.
| virtual BOOL CGridCellBase::IsFocused | ( | ) | const [inline, virtual] |
Definition at line 119 of file GridCellBase.h.
| virtual BOOL CGridCellBase::IsModified | ( | ) | const [inline, virtual] |
Definition at line 125 of file GridCellBase.h.
| virtual BOOL CGridCellBase::IsReadOnly | ( | ) | const [inline, virtual] |
Definition at line 124 of file GridCellBase.h.
| virtual BOOL CGridCellBase::IsSelected | ( | ) | const [inline, virtual] |
Definition at line 123 of file GridCellBase.h.
| void CGridCellBase::OnClick | ( | CPoint | PointCellRelative | ) | [protected, virtual] |
Reimplemented in CGridCellCheck, and CGridURLCell.
Definition at line 413 of file GridCellBase.cpp.
| void CGridCellBase::OnClickDown | ( | CPoint | PointCellRelative | ) | [protected, virtual] |
Definition at line 419 of file GridCellBase.cpp.
| void CGridCellBase::OnDblClick | ( | CPoint | PointCellRelative | ) | [protected, virtual] |
Definition at line 431 of file GridCellBase.cpp.
| void CGridCellBase::OnEndEdit | ( | ) | [protected, virtual] |
Reimplemented in CGridCell.
Definition at line 449 of file GridCellBase.cpp.
| void CGridCellBase::OnMouseEnter | ( | ) | [protected, virtual] |
Definition at line 397 of file GridCellBase.cpp.
| void CGridCellBase::OnMouseLeave | ( | ) | [protected, virtual] |
Definition at line 408 of file GridCellBase.cpp.
| void CGridCellBase::OnMouseOver | ( | ) | [protected, virtual] |
Definition at line 402 of file GridCellBase.cpp.
| void CGridCellBase::OnRClick | ( | CPoint | PointCellRelative | ) | [protected, virtual] |
Definition at line 425 of file GridCellBase.cpp.
| BOOL CGridCellBase::OnSetCursor | ( | ) | [protected, virtual] |
Reimplemented in CGridURLCell.
Definition at line 438 of file GridCellBase.cpp.
| void CGridCellBase::operator= | ( | const CGridCellBase & | cell | ) | [virtual] |
Definition at line 76 of file GridCellBase.cpp.
| BOOL CGridCellBase::PrintCell | ( | CDC * | pDC, | |
| int | nRow, | |||
| int | nCol, | |||
| CRect | rect | |||
| ) | [virtual] |
Definition at line 587 of file GridCellBase.cpp.
| void CGridCellBase::Reset | ( | ) | [virtual] |
Reimplemented in CGridCell.
Definition at line 71 of file GridCellBase.cpp.
| LRESULT CGridCellBase::SendMessageToParent | ( | int | nRow, | |
| int | nCol, | |||
| int | nMessage | |||
| ) |
Definition at line 742 of file GridCellBase.cpp.
| virtual void CGridCellBase::SetBackClr | ( | COLORREF | ) | [pure virtual] |
Implemented in CGridCell.
| virtual void CGridCellBase::SetCoords | ( | int | , | |
| int | ||||
| ) | [pure virtual] |
Implemented in CGridCell, and CGridDefaultCell.
| virtual void CGridCellBase::SetData | ( | LPARAM | ) | [pure virtual] |
Implemented in CGridCell, and CGridDefaultCell.
| virtual void CGridCellBase::SetFont | ( | const LOGFONT * | ) | [pure virtual] |
Implemented in CGridCell, and CGridDefaultCell.
| virtual void CGridCellBase::SetFormat | ( | DWORD | ) | [pure virtual] |
Implemented in CGridCell.
| virtual void CGridCellBase::SetImage | ( | int | ) | [pure virtual] |
Implemented in CGridCell.
| virtual void CGridCellBase::SetMargin | ( | UINT | ) | [pure virtual] |
Implemented in CGridCell.
| virtual void CGridCellBase::SetState | ( | DWORD | nState | ) | [inline, virtual] |
Reimplemented in CGridDefaultCell.
Definition at line 92 of file GridCellBase.h.
| virtual void CGridCellBase::SetText | ( | LPCTSTR | ) | [pure virtual] |
Implemented in CGridCell.
| virtual void CGridCellBase::SetTextClr | ( | COLORREF | ) | [pure virtual] |
Implemented in CGridCell.
| BOOL CGridCellBase::ValidateEdit | ( | LPCTSTR | str | ) | [virtual] |
Definition at line 454 of file GridCellBase.cpp.
friend class CGridCtrl [friend] |
Reimplemented in CGridCell, CGridCellCheck, CGridCellCombo, CGridCellComboBool, CGridCellDateTime, CGridCellDouble, and CGridCellMultiLine.
Definition at line 79 of file GridCellBase.h.
DWORD CGridCellBase::m_nState [protected] |
Definition at line 166 of file GridCellBase.h.
1.6.3