CInPlaceList Class Reference

#include <GridCellCombo.h>

List of all members.

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


Detailed Description

Definition at line 105 of file GridCellCombo.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 252 of file GridCellCombo.cpp.

References max, and min.

Referenced by CInPlaceList(), and OnDropdown().

void CInPlaceList::OnDropdown (  )  [protected]

Definition at line 312 of file GridCellCombo.cpp.

References GetCorrectDropWidth().

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]

Definition at line 348 of file GridCellCombo.cpp.

References m_nLastChar, and m_sInitText.

void CInPlaceList::OnKillFocus ( CWnd *  pNewWnd  )  [protected]

Definition at line 317 of file GridCellCombo.cpp.

References EndEdit().

void CInPlaceList::PostNcDestroy (  )  [protected, virtual]

Definition at line 285 of file GridCellCombo.cpp.


Friends And Related Function Documentation

friend class CComboEdit [friend]

Definition at line 107 of file GridCellCombo.h.


Member Data Documentation

BOOL CInPlaceList::m_bExitOnArrows [private]

Definition at line 162 of file GridCellCombo.h.

Referenced by CInPlaceList(), and OnKeyDown().

COLORREF CInPlaceList::m_crBackClr [private]

Definition at line 163 of file GridCellCombo.h.

Referenced by CInPlaceList().

COLORREF CInPlaceList::m_crForeClr [private]

Definition at line 163 of file GridCellCombo.h.

Referenced by CInPlaceList().

CComboEdit CInPlaceList::m_edit

Definition at line 123 of file GridCellCombo.h.

int CInPlaceList::m_nCol [private]

Definition at line 160 of file GridCellCombo.h.

Referenced by CInPlaceList(), and EndEdit().

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]

Definition at line 157 of file GridCellCombo.h.

Referenced by CInPlaceList().

int CInPlaceList::m_nRow [private]

Definition at line 159 of file GridCellCombo.h.

Referenced by CInPlaceList(), and EndEdit().

CString CInPlaceList::m_sInitText [private]

Definition at line 158 of file GridCellCombo.h.

Referenced by CInPlaceList(), and OnKeyUp().


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