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

Subversion Repositories openrisc

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

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
//===========================================================================
26
//#####DESCRIPTIONBEGIN####
27
//
28
// Author(s):   sdf
29
// Contact(s):  sdf
30
// Date:                1998/08/11
31
// Version:             0.01
32
// Purpose:     
33
// Description: Interface of the popup control used by the control view
34
//                              for in-cell editing of multi-line items
35
// Requires:    
36
// Provides:    
37
// See also:    
38
// Known bugs:  
39
// Usage:       
40
//
41
//####DESCRIPTIONEND####
42
//
43
//===========================================================================
44
#if !defined(AFX_MULTILINEEDITDIALOG_H__DEBF31D5_224E_11D2_80C1_00A0C949ADAC__INCLUDED_)
45
#define AFX_MULTILINEEDITDIALOG_H__DEBF31D5_224E_11D2_80C1_00A0C949ADAC__INCLUDED_
46
 
47
#if _MSC_VER >= 1000
48
#pragma once
49
#endif // _MSC_VER >= 1000
50
// MultiLineEditDialog.h : header file
51
//
52
 
53
#include "eCosDialog.h"
54
 
55
/////////////////////////////////////////////////////////////////////////////
56
// CMultiLineEditDialog dialog
57
 
58
class CMultiLineEditDialog : public CeCosDialog
59
{
60
// Construction
61
public:
62
        CMultiLineEditDialog(CWnd* pParent = NULL,UINT idEdit=42);   // standard constructor
63
 
64
// Dialog Data
65
        //{{AFX_DATA(CMultiLineEditDialog)
66
        CString m_strText;
67
        //}}AFX_DATA
68
 
69
 
70
// Overrides
71
        // ClassWizard generated virtual function overrides
72
        //{{AFX_VIRTUAL(CMultiLineEditDialog)
73
        protected:
74
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
75
        //}}AFX_VIRTUAL
76
 
77
// Implementation
78
protected:
79
        UINT m_idEdit;
80
  struct DlgItem {
81
    DLGITEMTEMPLATE dit;
82
    WORD arclass1, arclass2;
83
    WORD artitle;
84
    WORD ardata;
85
    WORD align;
86
  };
87
 
88
  struct DlgData {
89
    DLGTEMPLATE dtdlg;
90
    WORD armenu;
91
    WORD wndclass;
92
    WORD artitle;
93
    DlgItem ctrl[3];
94
  };
95
  static const DlgData data;
96
  DlgData m_data;
97
        // Generated message map functions
98
        //{{AFX_MSG(CMultiLineEditDialog)
99
        virtual BOOL OnInitDialog();
100
        virtual void OnOK();
101
        //}}AFX_MSG
102
        DECLARE_MESSAGE_MAP()
103
};
104
 
105
//{{AFX_INSERT_LOCATION}}
106
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
107
 
108
#endif // !defined(AFX_MULTILINEEDITDIALOG_H__DEBF31D5_224E_11D2_80C1_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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