CInPlaceEdit Class Reference

#include <InPlaceEdit.h>

List of all members.

Public Member Functions

 CInPlaceEdit (CWnd *pParent, CRect &rect, DWORD dwStyle, UINT nID, int nRow, int nColumn, CString sInitText, UINT nFirstChar)
void EndEdit ()
virtual BOOL PreTranslateMessage (MSG *pMsg)
virtual ~CInPlaceEdit ()

Protected Member Functions

virtual void PostNcDestroy ()
afx_msg void OnKillFocus (CWnd *pNewWnd)
afx_msg void OnChar (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg UINT OnGetDlgCode ()
 DECLARE_MESSAGE_MAP ()

Private Attributes

int m_nRow
int m_nColumn
CString m_sInitText
UINT m_nLastChar
BOOL m_bExitOnArrows
CRect m_Rect


Detailed Description

Definition at line 32 of file InPlaceEdit.h.


Constructor & Destructor Documentation

CInPlaceEdit::CInPlaceEdit ( CWnd *  pParent,
CRect &  rect,
DWORD  dwStyle,
UINT  nID,
int  nRow,
int  nColumn,
CString  sInitText,
UINT  nFirstChar 
)

Definition at line 55 of file InPlaceEdit.cpp.

References m_bExitOnArrows, m_nColumn, m_nLastChar, m_nRow, m_Rect, and m_sInitText.

CInPlaceEdit::~CInPlaceEdit (  )  [virtual]

Definition at line 97 of file InPlaceEdit.cpp.


Member Function Documentation

CInPlaceEdit::DECLARE_MESSAGE_MAP (  )  [protected]

void CInPlaceEdit::EndEdit (  ) 

Definition at line 216 of file InPlaceEdit.cpp.

References BOOL(), _GV_ITEM::col, FALSE, GVN_ENDLABELEDIT, tagGV_DISPINFO::hdr, tagGV_DISPINFO::item, _GV_ITEM::lParam, m_nColumn, m_nLastChar, m_nRow, _GV_ITEM::mask, _GV_ITEM::row, _GV_ITEM::strText, and TRUE.

Referenced by OnKillFocus().

void CInPlaceEdit::OnChar ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

Definition at line 139 of file InPlaceEdit.cpp.

References m_nLastChar, m_Rect, and m_sInitText.

UINT CInPlaceEdit::OnGetDlgCode (  )  [protected]

Definition at line 187 of file InPlaceEdit.cpp.

void CInPlaceEdit::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

Definition at line 117 of file InPlaceEdit.cpp.

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

Definition at line 133 of file InPlaceEdit.cpp.

References EndEdit().

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

Definition at line 206 of file InPlaceEdit.cpp.

BOOL CInPlaceEdit::PreTranslateMessage ( MSG *  pMsg  )  [virtual]

Definition at line 196 of file InPlaceEdit.cpp.

References TRUE.


Member Data Documentation

BOOL CInPlaceEdit::m_bExitOnArrows [private]

Definition at line 74 of file InPlaceEdit.h.

Referenced by CInPlaceEdit().

int CInPlaceEdit::m_nColumn [private]

Definition at line 71 of file InPlaceEdit.h.

Referenced by CInPlaceEdit(), and EndEdit().

UINT CInPlaceEdit::m_nLastChar [private]

Definition at line 73 of file InPlaceEdit.h.

Referenced by CInPlaceEdit(), EndEdit(), and OnChar().

int CInPlaceEdit::m_nRow [private]

Definition at line 70 of file InPlaceEdit.h.

Referenced by CInPlaceEdit(), and EndEdit().

CRect CInPlaceEdit::m_Rect [private]

Definition at line 75 of file InPlaceEdit.h.

Referenced by CInPlaceEdit(), and OnChar().

CString CInPlaceEdit::m_sInitText [private]

Definition at line 72 of file InPlaceEdit.h.

Referenced by CInPlaceEdit(), and OnChar().


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