OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [Utils/] [win32/] [Cell.h] - Blame information for rev 574

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 unneback
//####COPYRIGHTBEGIN####
2
//                                                                          
3
// ----------------------------------------------------------------------------
4
// Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
5
//
6
// This program is part of the eCos host tools.
7
//
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) 
11
// any later version.
12
// 
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 
16
// more details.
17
// 
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.
21
//
22
// ----------------------------------------------------------------------------
23
//                                                                          
24
//####COPYRIGHTEND####
25
#if !defined(AFX_CELLEDIT_H__B7D5072A_9B59_11D3_A537_00A0C949ADAC__INCLUDED_)
26
#define AFX_CELLEDIT_H__B7D5072A_9B59_11D3_A537_00A0C949ADAC__INCLUDED_
27
 
28
#if _MSC_VER > 1000
29
#pragma once
30
#endif // _MSC_VER > 1000
31
// Cell.h : header file
32
//
33
 
34
/////////////////////////////////////////////////////////////////////////////
35
// CCell window
36
enum {WM_CANCEL_EDIT=WM_USER+99}; // wParam=1 for end, 0 for cancel
37
class CCell : public CWnd
38
{
39
// Construction
40
public:
41
        CCell(LPCTSTR pszInitialValue);
42
 
43
// Attributes
44
public:
45
 
46
// Operations
47
public:
48
 
49
// Overrides
50
        // ClassWizard generated virtual function overrides
51
        //{{AFX_VIRTUAL(CCell)
52
        public:
53
        virtual BOOL PreTranslateMessage(MSG* pMsg);
54
        virtual BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
55
        //}}AFX_VIRTUAL
56
 
57
// Implementation
58
public:
59
        virtual ~CCell();
60
        virtual void OnUpdateEditCopy   (CCmdUI*){}
61
        virtual void OnUpdateEditDelete (CCmdUI*){}
62
        virtual void OnUpdateEditPaste  (CCmdUI*){}
63
        virtual void OnUpdateEditCut    (CCmdUI*){}
64
        virtual void OnEditCopy   (){}
65
        virtual void OnEditDelete (){}
66
        virtual void OnEditPaste  (){}
67
        virtual void OnEditCut    (){}
68
        // Generated message map functions
69
protected:
70
  CString m_strInitialValue;
71
        //{{AFX_MSG(CCell)
72
        afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
73
        //}}AFX_MSG
74
        DECLARE_MESSAGE_MAP()
75
};
76
 
77
/////////////////////////////////////////////////////////////////////////////
78
 
79
//{{AFX_INSERT_LOCATION}}
80
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
81
 
82
#endif // !defined(AFX_CELLEDIT_H__B7D5072A_9B59_11D3_A537_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.