#include <GridCellCombo.h>
Public Member Functions | |
CInPlaceList (CWnd *pParent, CRect &rect, DWORD dwStyle, UINT nID, int nRow, int nColumn, COLORREF crFore, COLORREF crBack, CStringArray &Items, CString sInitText, UINT nFirstChar) | |
virtual | ~CInPlaceList () |
void | EndEdit () |
Public Attributes | |
CComboEdit | m_edit |
Protected Member Functions | |
virtual void | PostNcDestroy () |
int | GetCorrectDropWidth () |
afx_msg void | OnKillFocus (CWnd *pNewWnd) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnDropdown () |
afx_msg UINT | OnGetDlgCode () |
afx_msg HBRUSH | CtlColor (CDC *pDC, UINT nCtlColor) |
Private Attributes | |
int | m_nNumLines |
CString | m_sInitText |
int | m_nRow |
int | m_nCol |
UINT | m_nLastChar |
BOOL | m_bExitOnArrows |
COLORREF | m_crForeClr |
COLORREF | m_crBackClr |
Friends | |
class | CComboEdit |
Definition at line 105 of file GridCellCombo.h.
CInPlaceList::CInPlaceList | ( | CWnd * | pParent, | |
CRect & | rect, | |||
DWORD | dwStyle, | |||
UINT | nID, | |||
int | nRow, | |||
int | nColumn, | |||
COLORREF | crFore, | |||
COLORREF | crBack, | |||
CStringArray & | Items, | |||
CString | sInitText, | |||
UINT | nFirstChar | |||
) |
Definition at line 133 of file GridCellCombo.cpp.
References CGridCtrl::Create(), FALSE, GetCorrectDropWidth(), m_bExitOnArrows, m_crBackClr, m_crForeClr, m_nCol, m_nLastChar, m_nNumLines, m_nRow, and m_sInitText.
CInPlaceList::~CInPlaceList | ( | ) | [virtual] |
Definition at line 222 of file GridCellCombo.cpp.
HBRUSH CInPlaceList::CtlColor | ( | CDC * | pDC, | |
UINT | nCtlColor | |||
) | [protected] |
Definition at line 363 of file GridCellCombo.cpp.
void CInPlaceList::EndEdit | ( | ) |
Definition at line 226 of file GridCellCombo.cpp.
References _GV_ITEM::col, GVN_ENDLABELEDIT, tagGV_DISPINFO::hdr, tagGV_DISPINFO::item, _GV_ITEM::lParam, m_nCol, m_nLastChar, m_nRow, _GV_ITEM::mask, _GV_ITEM::row, and _GV_ITEM::strText.
Referenced by OnKillFocus(), and CComboEdit::OnKillFocus().
int CInPlaceList::GetCorrectDropWidth | ( | ) | [protected] |
void CInPlaceList::OnDropdown | ( | ) | [protected] |
UINT CInPlaceList::OnGetDlgCode | ( | ) | [protected] |
Definition at line 307 of file GridCellCombo.cpp.
void CInPlaceList::OnKeyDown | ( | UINT | nChar, | |
UINT | nRepCnt, | |||
UINT | nFlags | |||
) | [protected] |
Definition at line 332 of file GridCellCombo.cpp.
References m_bExitOnArrows, m_nLastChar, and CGridCtrl::OnKeyDown().
void CInPlaceList::OnKeyUp | ( | UINT | nChar, | |
UINT | nRepCnt, | |||
UINT | nFlags | |||
) | [protected] |
void CInPlaceList::OnKillFocus | ( | CWnd * | pNewWnd | ) | [protected] |
void CInPlaceList::PostNcDestroy | ( | ) | [protected, virtual] |
Definition at line 285 of file GridCellCombo.cpp.
friend class CComboEdit [friend] |
Definition at line 107 of file GridCellCombo.h.
BOOL CInPlaceList::m_bExitOnArrows [private] |
COLORREF CInPlaceList::m_crBackClr [private] |
COLORREF CInPlaceList::m_crForeClr [private] |
Definition at line 123 of file GridCellCombo.h.
int CInPlaceList::m_nCol [private] |
UINT CInPlaceList::m_nLastChar [private] |
Definition at line 161 of file GridCellCombo.h.
Referenced by CInPlaceList(), EndEdit(), OnKeyDown(), and OnKeyUp().
int CInPlaceList::m_nNumLines [private] |
int CInPlaceList::m_nRow [private] |
CString CInPlaceList::m_sInitText [private] |