#include <GridCellCombo.h>
Inheritance diagram for CGridCellCombo:
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 |
Definition at line 36 of file GridCellCombo.h.
CGridCellCombo::CGridCellCombo | ( | ) |
Definition at line 383 of file GridCellCombo.cpp.
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] |
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] |
friend class CGridCtrl [friend] |
DWORD CGridCellCombo::m_dwStyle [protected] |
CStringArray CGridCellCombo::m_Strings [protected] |