CGridCellCombo Class Reference

#include <GridCellCombo.h>

Inheritance diagram for CGridCellCombo:

CGridCell CGridCellBase List of all members.

Public Member Functions

 CGridCellCombo ()
virtual BOOL Edit (int nRow, int nCol, CRect rect, CPoint point, UINT nID, UINT nChar)
virtual void EndEdit ()
void SetOptions (CStringArray &ar)
void SetStyle (DWORD dwStyle)
DWORD GetStyle ()

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

Private Member Functions

 DECLARE_DYNCREATE (CGridCellCombo)

Friends

class CGridCtrl

Detailed Description

Definition at line 36 of file GridCellCombo.h.


Constructor & Destructor Documentation

CGridCellCombo::CGridCellCombo (  ) 

Definition at line 383 of file GridCellCombo.cpp.


Member Function Documentation

CGridCellCombo::DECLARE_DYNCREATE ( CGridCellCombo   )  [private]

BOOL CGridCellCombo::Draw ( CDC *  pDC,
int  nRow,
int  nCol,
CRect  rect,
BOOL  bEraseBkgnd = TRUE 
) [protected, virtual]

Reimplemented from CGridCellBase.

Definition at line 408 of file GridCellCombo.cpp.

References CGridCellBase::Draw(), CGridCell::GetGrid(), CGridCell::GetText(), CGridCtrl::IsCellEditable(), CGridCell::IsEditing(), and CGridCell::SetText().

BOOL CGridCellCombo::Edit ( int  nRow,
int  nCol,
CRect  rect,
CPoint  point,
UINT  nID,
UINT  nChar 
) [virtual]

Reimplemented from CGridCell.

Definition at line 389 of file GridCellCombo.cpp.

References CGridCell::GetBackClr(), CGridCell::GetGrid(), GetStyle(), CGridCell::GetText(), CGridCell::GetTextClr(), CGridCell::m_bEditing, CGridCell::m_pEditWnd, m_Strings, and TRUE.

void CGridCellCombo::EndEdit (  )  [virtual]

Reimplemented from CGridCell.

Definition at line 401 of file GridCellCombo.cpp.

References CGridCell::m_pEditWnd.

DWORD CGridCellCombo::GetStyle (  )  [inline]

Definition at line 53 of file GridCellCombo.h.

References m_dwStyle.

Referenced by Edit().

void CGridCellCombo::SetOptions ( CStringArray &  ar  ) 

Definition at line 449 of file GridCellCombo.cpp.

References m_Strings.

Referenced by CSettingsDlgBar::initGrid().

void CGridCellCombo::SetStyle ( DWORD  dwStyle  )  [inline]

Definition at line 52 of file GridCellCombo.h.

References m_dwStyle.


Friends And Related Function Documentation

friend class CGridCtrl [friend]

Reimplemented from CGridCell.

Definition at line 38 of file GridCellCombo.h.


Member Data Documentation

DWORD CGridCellCombo::m_dwStyle [protected]

Definition at line 59 of file GridCellCombo.h.

Referenced by GetStyle(), and SetStyle().

CStringArray CGridCellCombo::m_Strings [protected]

Definition at line 58 of file GridCellCombo.h.

Referenced by Edit(), and SetOptions().


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