#if !defined(AFX_KTINPLACEEDIT_H__45CD8918_3475_4A24_9783_9695DF5D7790__INCLUDED_) #define AFX_KTINPLACEEDIT_H__45CD8918_3475_4A24_9783_9695DF5D7790__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif class KTInplaceEdit : public CEdit { public: KTInplaceEdit(); KTInplaceEdit(int nItem, int nSubItem, CString &sContent); virtual ~KTInplaceEdit(); public: //{{AFX_VIRTUAL(KTInplaceEdit) public: virtual BOOL PreTranslateMessage(MSG* pMsg); //}}AFX_VIRTUAL protected: //{{AFX_MSG(KTInplaceEdit) afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnKillFocus(CWnd* pNewWnd); afx_msg void OnNcDestroy(); //}}AFX_MSG DECLARE_MESSAGE_MAP() protected: int m_nItem; int m_nSubItem; CString m_sContent; BOOL m_bVK_ESCAPE; }; //{{AFX_INSERT_LOCATION}} #endif