#include <GridCellCheck.h>
Public Member Functions | |
CGridCellCheck () | |
BOOL | SetCheck (BOOL bChecked=TRUE) |
BOOL | GetCheck () |
virtual CSize | GetCellExtent (CDC *pDC) |
virtual void | OnClick (CPoint PointCellRelative) |
virtual BOOL | GetTextRect (LPRECT pRect) |
Protected Member Functions | |
CRect | GetCheckPlacement () |
virtual BOOL | Draw (CDC *pDC, int nRow, int nCol, CRect rect, BOOL bEraseBkgnd=TRUE) |
Protected Attributes | |
BOOL | m_bChecked |
CRect | m_Rect |
Friends | |
class | CGridCtrl |
Definition at line 36 of file GridCellCheck.h.
CGridCellCheck::CGridCellCheck | ( | ) |
Definition at line 48 of file GridCellCheck.cpp.
BOOL CGridCellCheck::Draw | ( | CDC * | pDC, | |
int | nRow, | |||
int | nCol, | |||
CRect | rect, | |||
BOOL | bEraseBkgnd = TRUE | |||
) | [protected, virtual] |
Reimplemented from CGridCellBase.
Definition at line 76 of file GridCellCheck.cpp.
CSize CGridCellCheck::GetCellExtent | ( | CDC * | pDC | ) | [virtual] |
Reimplemented from CGridCellBase.
Definition at line 54 of file GridCellCheck.cpp.
BOOL CGridCellCheck::GetCheck | ( | ) |
Definition at line 127 of file GridCellCheck.cpp.
CRect CGridCellCheck::GetCheckPlacement | ( | ) | [protected] |
Definition at line 137 of file GridCellCheck.cpp.
BOOL CGridCellCheck::GetTextRect | ( | LPRECT | pRect | ) | [virtual] |
Reimplemented from CGridCellBase.
Definition at line 62 of file GridCellCheck.cpp.
void CGridCellCheck::OnClick | ( | CPoint | PointCellRelative | ) | [virtual] |
Reimplemented from CGridCellBase.
Definition at line 99 of file GridCellCheck.cpp.
BOOL CGridCellCheck::SetCheck | ( | BOOL | bChecked = TRUE |
) |
Definition at line 117 of file GridCellCheck.cpp.
friend class CGridCtrl [friend] |
Reimplemented from CGridCell.
Definition at line 38 of file GridCellCheck.h.
BOOL CGridCellCheck::m_bChecked [protected] |
Definition at line 59 of file GridCellCheck.h.
CRect CGridCellCheck::m_Rect [protected] |
Definition at line 60 of file GridCellCheck.h.