CGridDefaultCell Class Reference

#include <GridCell.h>

Inheritance diagram for CGridDefaultCell:

CGridCell CGridCellBase List of all members.

Public Member Functions

 CGridDefaultCell ()
virtual ~CGridDefaultCell ()
virtual DWORD GetStyle () const
virtual void SetStyle (DWORD dwStyle)
virtual int GetWidth () const
virtual int GetHeight () const
virtual void SetWidth (int nWidth)
virtual void SetHeight (int nHeight)
virtual void SetData (LPARAM)
virtual void SetState (DWORD)
virtual DWORD GetState () const
virtual void SetCoords (int, int)
virtual void SetFont (const LOGFONT *)
virtual LOGFONT * GetFont () const
virtual CFont * GetFontObject () const

Protected Attributes

CSize m_Size
CFont m_Font
DWORD m_dwStyle

Private Member Functions

 DECLARE_DYNCREATE (CGridDefaultCell)

Detailed Description

Definition at line 108 of file GridCell.h.


Constructor & Destructor Documentation

CGridDefaultCell::CGridDefaultCell (  ) 

Definition at line 196 of file GridCell.cpp.

References CGridCell::m_crBkClr, CGridCell::m_crFgClr, m_dwStyle, CGridCell::m_nFormat, m_Size, SetFont(), and VERIFY.

CGridDefaultCell::~CGridDefaultCell (  )  [virtual]

Definition at line 220 of file GridCell.cpp.

References m_Font.


Member Function Documentation

CGridDefaultCell::DECLARE_DYNCREATE ( CGridDefaultCell   )  [private]

LOGFONT * CGridDefaultCell::GetFont (  )  const [virtual]

Reimplemented from CGridCell.

Definition at line 256 of file GridCell.cpp.

References ASSERT, and CGridCell::m_plfFont.

Referenced by CGridCell::GetFont().

CFont * CGridDefaultCell::GetFontObject (  )  const [virtual]

Reimplemented from CGridCell.

Definition at line 262 of file GridCell.cpp.

References ASSERT, and m_Font.

Referenced by CGridCell::GetFontObject(), and CGridCtrl::OnGetFont().

virtual int CGridDefaultCell::GetHeight (  )  const [inline, virtual]

Definition at line 121 of file GridCell.h.

References m_Size.

Referenced by CGridCtrl::AutoFill(), CGridCtrl::Create(), CGridCtrl::GetDefCellHeight(), CGridCellBase::GetTextExtent(), CGridCtrl::InsertRow(), and CGridCtrl::SetRowCount().

virtual DWORD CGridDefaultCell::GetState (  )  const [inline, virtual]

Reimplemented from CGridCellBase.

Definition at line 128 of file GridCell.h.

References CGridCellBase::GetState(), and GVIS_READONLY.

virtual DWORD CGridDefaultCell::GetStyle (  )  const [inline, virtual]

Definition at line 118 of file GridCell.h.

References m_dwStyle.

virtual int CGridDefaultCell::GetWidth (  )  const [inline, virtual]

Definition at line 120 of file GridCell.h.

References m_Size.

Referenced by CGridCtrl::AutoFill(), CGridCtrl::Create(), CGridCtrl::GetDefCellWidth(), CGridCellBase::GetTextExtent(), and CGridCtrl::SetColumnCount().

virtual void CGridDefaultCell::SetCoords ( int  ,
int   
) [inline, virtual]

Reimplemented from CGridCell.

Definition at line 129 of file GridCell.h.

References ASSERT, and FALSE.

virtual void CGridDefaultCell::SetData ( LPARAM   )  [inline, virtual]

Reimplemented from CGridCell.

Definition at line 126 of file GridCell.h.

References ASSERT, and FALSE.

void CGridDefaultCell::SetFont ( const LOGFONT *   )  [virtual]

Reimplemented from CGridCell.

Definition at line 225 of file GridCell.cpp.

References ASSERT, m_Font, m_Size, CGridCell::SetFont(), and CGridCell::SetMargin().

Referenced by CGridDefaultCell(), and CGridCtrl::OnSetFont().

virtual void CGridDefaultCell::SetHeight ( int  nHeight  )  [inline, virtual]

Definition at line 123 of file GridCell.h.

References m_Size.

Referenced by CGridCtrl::SetDefCellHeight().

virtual void CGridDefaultCell::SetState ( DWORD   )  [inline, virtual]

Reimplemented from CGridCellBase.

Definition at line 127 of file GridCell.h.

References ASSERT, and FALSE.

virtual void CGridDefaultCell::SetStyle ( DWORD  dwStyle  )  [inline, virtual]

Definition at line 119 of file GridCell.h.

References m_dwStyle.

virtual void CGridDefaultCell::SetWidth ( int  nWidth  )  [inline, virtual]

Definition at line 122 of file GridCell.h.

References m_Size.

Referenced by CGridCtrl::SetDefCellWidth().


Member Data Documentation

DWORD CGridDefaultCell::m_dwStyle [protected]

Definition at line 137 of file GridCell.h.

Referenced by CGridDefaultCell(), GetStyle(), and SetStyle().

CFont CGridDefaultCell::m_Font [protected]

Definition at line 136 of file GridCell.h.

Referenced by GetFontObject(), SetFont(), and ~CGridDefaultCell().

CSize CGridDefaultCell::m_Size [protected]

Definition at line 135 of file GridCell.h.

Referenced by CGridDefaultCell(), GetHeight(), GetWidth(), SetFont(), SetHeight(), and SetWidth().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:21:08 2006 for DT2005.panorama by  doxygen 1.4.7