#include <InPlaceEdit.h>
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 |
Definition at line 32 of file InPlaceEdit.h.
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.
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] |
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] |
void CInPlaceEdit::PostNcDestroy | ( | ) | [protected, virtual] |
Definition at line 206 of file InPlaceEdit.cpp.
BOOL CInPlaceEdit::PreTranslateMessage | ( | MSG * | pMsg | ) | [virtual] |
BOOL CInPlaceEdit::m_bExitOnArrows [private] |
int CInPlaceEdit::m_nColumn [private] |
UINT CInPlaceEdit::m_nLastChar [private] |
int CInPlaceEdit::m_nRow [private] |
CRect CInPlaceEdit::m_Rect [private] |
CString CInPlaceEdit::m_sInitText [private] |