CGridCellMultiLine Class Reference

#include <GridCellMultiLine.h>

Inheritance diagram for CGridCellMultiLine:
Inheritance graph
[legend]
Collaboration diagram for CGridCellMultiLine:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 37 of file GridCellMultiLine.h.


Constructor & Destructor Documentation

CGridCellMultiLine::CGridCellMultiLine (  ) 

Definition at line 313 of file GridCellMultiLine.cpp.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class CGridCtrl [friend]

Reimplemented from CGridCell.

Definition at line 39 of file GridCellMultiLine.h.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
Generated on Thu May 30 15:49:01 2013 for GME by  doxygen 1.6.3