update for HEAD-2003091401
[reactos.git] / subsys / system / explorer / Seashell / SeaShellExt / Include / InPlaceEdit.h
1 #ifndef __INPLACEEDIT_H__
2 #define __INPLACEEDIT_H__
3 /////////////////////////////////////////////////////////////////////////////
4 // CInPlaceEdit window
5 // Zafir Anjum
6
7 class CInPlaceEdit : public CEdit
8 {
9 // Construction
10 public:
11         CInPlaceEdit(int iItem, int iSubItem, CString sInitText);
12
13 // Attributes
14 public:
15
16 // Operations
17 public:
18
19 // Overrides
20         // ClassWizard generated virtual function overrides
21         //{{AFX_VIRTUAL(CInPlaceEdit)
22         public:
23         virtual BOOL PreTranslateMessage(MSG* pMsg);
24         //}}AFX_VIRTUAL
25
26 // Implementation
27 public:
28         virtual ~CInPlaceEdit();
29
30         // Generated message map functions
31 protected:
32         //{{AFX_MSG(CInPlaceEdit)
33         afx_msg void OnKillFocus(CWnd* pNewWnd);
34         afx_msg void OnNcDestroy();
35         afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
36         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
37         //}}AFX_MSG
38
39         DECLARE_MESSAGE_MAP()
40 private:
41         int m_iItem;
42         int m_iSubItem;
43         CString m_sInitText;
44         BOOL    m_bESC; // To indicate whether ESC key was pressed
45 };
46 /////////////////////////////////////////////////////////////////////////////
47
48
49 #endif //__INPLACEEDIT_H__