38 lines
874 B
C++
38 lines
874 B
C++
#if !defined(AFX_UIIINPLACEEDIT_H__45CD8918_3475_4A24_9783_9695DF5D7790__INCLUDED_)
|
|
#define AFX_UIIINPLACEEDIT_H__45CD8918_3475_4A24_9783_9695DF5D7790__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
class CUIIInplaceEdit : public CEdit
|
|
{
|
|
|
|
public:
|
|
CUIIInplaceEdit();
|
|
CUIIInplaceEdit(int nItem, int nSubItem, CString &sContent);
|
|
virtual ~CUIIInplaceEdit();
|
|
|
|
public:
|
|
//{{AFX_VIRTUAL(CUIIInplaceEdit)
|
|
public:
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
//}}AFX_VIRTUAL
|
|
protected:
|
|
//{{AFX_MSG(CUIIInplaceEdit)
|
|
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
|