1 //####COPYRIGHTBEGIN####
3 // ----------------------------------------------------------------------------
4 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
6 // This program is part of the eCos host tools.
8 // This program is free software; you can redistribute it and/or modify it
9 // under the terms of the GNU General Public License as published by the Free
10 // Software Foundation; either version 2 of the License, or (at your option)
13 // This program is distributed in the hope that it will be useful, but WITHOUT
14 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18 // You should have received a copy of the GNU General Public License along with
19 // this program; if not, write to the Free Software Foundation, Inc.,
20 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 // ----------------------------------------------------------------------------
24 //####COPYRIGHTEND####
25 #if !defined(AFX_CELL_H__B7D5072E_9B59_11D3_A537_00A0C949ADAC__INCLUDED_)
26 #define AFX_CELL_H__B7D5072E_9B59_11D3_A537_00A0C949ADAC__INCLUDED_
30 #endif // _MSC_VER > 1000
31 // CellEdit.h : header file
34 /////////////////////////////////////////////////////////////////////////////
37 class CCellEdit : public CCell
41 CCellEdit(LPCTSTR pszInitialValue);
50 // ClassWizard generated virtual function overrides
51 //{{AFX_VIRTUAL(CCellEdit)
53 virtual BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
58 virtual void OnEditCopy ();
59 virtual void OnEditDelete ();
60 virtual void OnEditPaste ();
61 virtual void OnEditCut ();
62 virtual void OnUpdateEditCopy (CCmdUI *pCmdUI);
63 virtual void OnUpdateEditDelete (CCmdUI *pCmdUI);
64 virtual void OnUpdateEditPaste (CCmdUI *pCmdUI);
65 virtual void OnUpdateEditCut (CCmdUI *pCmdUI);
69 // Generated message map functions
71 //{{AFX_MSG(CCellEdit)
72 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
73 afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
74 afx_msg void OnKillFocus(CWnd* pNewWnd);
80 /////////////////////////////////////////////////////////////////////////////
82 //{{AFX_INSERT_LOCATION}}
83 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
85 #endif // !defined(AFX_CELL_H__B7D5072E_9B59_11D3_A537_00A0C949ADAC__INCLUDED_)