]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - tools/src/tools/Utils/win32/ComboEdit.h
Merge branch 'master' of git+ssh://git.kernelconcepts.de/karo-tx-redboot
[karo-tx-redboot.git] / tools / src / tools / Utils / win32 / ComboEdit.h
1 //####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_COMBOEDIT_H__A82923A1_4018_11D3_A521_00A0C949ADAC__INCLUDED_)
26 #define AFX_COMBOEDIT_H__A82923A1_4018_11D3_A521_00A0C949ADAC__INCLUDED_
27
28 #if _MSC_VER > 1000
29 #pragma once
30 #endif // _MSC_VER > 1000
31 // ComboEdit.h : header file
32 //
33
34 /////////////////////////////////////////////////////////////////////////////
35 // CComboEdit window
36 #include "Cell.h"
37 class CComboEdit : public CCell
38 {
39 // Construction
40 public:
41         CComboEdit(LPCTSTR pszInitialValue,const CStringArray &arValues);
42
43 // Attributes
44 public:
45
46 // Operations
47 public:
48
49 // Overrides
50         // ClassWizard generated virtual function overrides
51         //{{AFX_VIRTUAL(CComboEdit)
52         public:
53         virtual BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
54         //}}AFX_VIRTUAL
55
56 // Implementation
57 public:
58         virtual ~CComboEdit();
59
60         // Generated message map functions
61 protected:
62         CStringArray m_arValues;
63   //{{AFX_MSG(CComboEdit)
64         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
65     afx_msg void OnKillFocus(CWnd* pNewWnd);
66         //}}AFX_MSG
67
68         DECLARE_MESSAGE_MAP()
69 };
70
71 /////////////////////////////////////////////////////////////////////////////
72
73 //{{AFX_INSERT_LOCATION}}
74 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
75
76 #endif // !defined(AFX_COMBOEDIT_H__A82923A1_4018_11D3_A521_00A0C949ADAC__INCLUDED_)