#include <GridCellMultiLine.h>
Public Member Functions | |
CGridCellMultiLine () | |
virtual BOOL | Edit (int nRow, int nCol, CRect rect, CPoint point, UINT nID, UINT nChar) |
virtual void | EndEdit () |
void | SetStyle (DWORD dwStyle) |
DWORD | GetStyle () |
void | SetHoldWidth (BOOL bHoldWidth=TRUE) |
BOOL | GetHoldWidth () |
CSize | GetTextExtentEx (int width, LPCTSTR str, CDC *pDC=NULL) |
CSize | GetCellExtentEx (int width, CDC *pDC) |
Protected Member Functions | |
virtual BOOL | Draw (CDC *pDC, int nRow, int nCol, CRect rect, BOOL bEraseBkgnd=TRUE) |
Protected Attributes | |
CStringArray | m_Strings |
DWORD | m_dwStyle |
BOOL | m_bHoldWidth |
Friends | |
class | CGridCtrl |
Definition at line 37 of file GridCellMultiLine.h.
CGridCellMultiLine::CGridCellMultiLine | ( | ) |
Definition at line 313 of file GridCellMultiLine.cpp.
BOOL CGridCellMultiLine::Draw | ( | CDC * | pDC, | |
int | nRow, | |||
int | nCol, | |||
CRect | rect, | |||
BOOL | bEraseBkgnd = TRUE | |||
) | [protected, virtual] |
Reimplemented from CGridCellBase.
Definition at line 339 of file GridCellMultiLine.cpp.
BOOL CGridCellMultiLine::Edit | ( | int | nRow, | |
int | nCol, | |||
CRect | rect, | |||
CPoint | point, | |||
UINT | nID, | |||
UINT | nChar | |||
) | [virtual] |
Reimplemented from CGridCell.
Definition at line 321 of file GridCellMultiLine.cpp.
void CGridCellMultiLine::EndEdit | ( | ) | [virtual] |
Reimplemented from CGridCell.
Definition at line 332 of file GridCellMultiLine.cpp.
CSize CGridCellMultiLine::GetCellExtentEx | ( | int | width, | |
CDC * | pDC | |||
) |
Definition at line 420 of file GridCellMultiLine.cpp.
BOOL CGridCellMultiLine::GetHoldWidth | ( | ) | [inline] |
Definition at line 56 of file GridCellMultiLine.h.
DWORD CGridCellMultiLine::GetStyle | ( | ) | [inline] |
Definition at line 53 of file GridCellMultiLine.h.
CSize CGridCellMultiLine::GetTextExtentEx | ( | int | width, | |
LPCTSTR | str, | |||
CDC * | pDC = NULL | |||
) |
Definition at line 346 of file GridCellMultiLine.cpp.
void CGridCellMultiLine::SetHoldWidth | ( | BOOL | bHoldWidth = TRUE |
) | [inline] |
Definition at line 55 of file GridCellMultiLine.h.
void CGridCellMultiLine::SetStyle | ( | DWORD | dwStyle | ) | [inline] |
Definition at line 52 of file GridCellMultiLine.h.
friend class CGridCtrl [friend] |
Reimplemented from CGridCell.
Definition at line 39 of file GridCellMultiLine.h.
BOOL CGridCellMultiLine::m_bHoldWidth [protected] |
Definition at line 68 of file GridCellMultiLine.h.
DWORD CGridCellMultiLine::m_dwStyle [protected] |
Definition at line 67 of file GridCellMultiLine.h.
CStringArray CGridCellMultiLine::m_Strings [protected] |
Definition at line 66 of file GridCellMultiLine.h.