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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [Utils/] [win32/] [StringEdit.h] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
// ####ECOSHOSTGPLCOPYRIGHTBEGIN####                                        
2
// -------------------------------------------                              
3
// This file is part of the eCos host tools.                                
4
// Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.            
5
//
6
// This program is free software; you can redistribute it and/or modify     
7
// it under the terms of the GNU General Public License as published by     
8
// the Free Software Foundation; either version 2 or (at your option) any   
9
// later version.                                                           
10
//
11
// This program is distributed in the hope that it will be useful, but      
12
// WITHOUT ANY WARRANTY; without even the implied warranty of               
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU        
14
// General Public License for more details.                                 
15
//
16
// You should have received a copy of the GNU General Public License        
17
// along with this program; if not, write to the                            
18
// Free Software Foundation, Inc., 51 Franklin Street,                      
19
// Fifth Floor, Boston, MA  02110-1301, USA.                                
20
// -------------------------------------------                              
21
// ####ECOSHOSTGPLCOPYRIGHTEND####                                          
22
//===========================================================================
23
//#####DESCRIPTIONBEGIN####
24
//
25
// Author(s):   sdf
26
// Contact(s):  sdf
27
// Date:                1998/08/11
28
// Version:             0.01
29
// Purpose:     
30
// Description: Interface of the masked edit control used by the control view for
31
//                              in-cell editing
32
// Requires:    
33
// Provides:    
34
// See also:    
35
// Known bugs:  
36
// Usage:       
37
//
38
//####DESCRIPTIONEND####
39
//
40
//===========================================================================
41
#if !defined(AFX_STRINGEDIT_H__8F19DC24_06B9_11D2_80BE_00A0C949ADAC__INCLUDED_)
42
#define AFX_STRINGEDIT_H__8F19DC24_06B9_11D2_80BE_00A0C949ADAC__INCLUDED_
43
 
44
#if _MSC_VER >= 1000
45
#pragma once
46
#endif // _MSC_VER >= 1000
47
// IntegerEdit.h : header file
48
//
49
 
50
/////////////////////////////////////////////////////////////////////////////
51
// CStringEdit window
52
#include "CellEdit.h"
53
class CStringEdit : public CCellEdit
54
{
55
// Construction
56
public:
57
        CStringEdit(LPCTSTR pszInitialValue);
58
 
59
// Attributes
60
public:
61
        static LPCTSTR FORMAT_HEX;
62
        static LPCTSTR FORMAT_INT;
63
// Operations
64
public:
65
  void EnableDoubleClickEdit(bool bEnable=true,UINT idEdit=42) { m_bDoubleClickEdit=bEnable; m_idEdit=idEdit; }
66
// Overrides
67
        // ClassWizard generated virtual function overrides
68
        //{{AFX_VIRTUAL(CStringEdit)
69
        public:
70
        //}}AFX_VIRTUAL
71
 
72
// Implementation
73
public:
74
  void SetValue(__int64 n);
75
        virtual ~CStringEdit();
76
 
77
        // Generated message map functions
78
protected:
79
        bool m_bDoubleClickEdit;
80
  UINT m_idEdit;
81
 
82
        //CIdleMessage CI;
83
        CString m_strData;
84
        //{{AFX_MSG(CStringEdit)
85
        afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
86
        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
87
        //}}AFX_MSG
88
 
89
        DECLARE_MESSAGE_MAP()
90
};
91
 
92
/////////////////////////////////////////////////////////////////////////////
93
 
94
//{{AFX_INSERT_LOCATION}}
95
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
96
 
97
#endif // !defined(AFX_STRINGEDIT_H__8F19DC24_06B9_11D2_80BE_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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