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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [common/] [win32/] [FolderDialog.h] - Blame information for rev 790

Go to most recent revision | 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 find folder dialog
31
// Requires:    
32
// Provides:    
33
// See also:    
34
// Known bugs:  
35
// Usage:       
36
//
37
//####DESCRIPTIONEND####
38
//
39
//===========================================================================
40
#if !defined(AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_)
41
#define AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_
42
 
43
#if _MSC_VER >= 1000
44
#pragma once
45
#endif // _MSC_VER >= 1000
46
// FolderDialog.h : header file
47
//
48
 
49
#include "FileName.h"
50
#include "resource.h"
51
#include "eCosDialog.h"
52
/////////////////////////////////////////////////////////////////////////////
53
// CFolderDialog dialog
54
 
55
class CFolderDialog : public CeCosDialog
56
{
57
// Construction
58
public:
59
        CString m_strDesc;
60
        CFolderDialog(BOOL bAllowCreation=TRUE, UINT id=0);   // standard constructor
61
        CString m_strTitle;
62
        CFileName m_strFolder;
63
 
64
// Dialog Data
65
        //{{AFX_DATA(CFolderDialog)
66
        //}}AFX_DATA
67
 
68
 
69
// Overrides
70
        // ClassWizard generated virtual function overrides
71
        //{{AFX_VIRTUAL(CFolderDialog)
72
        protected:
73
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
74
        //}}AFX_VIRTUAL
75
 
76
// Implementation
77
protected:
78
 
79
 
80
 
81
        static WNDPROC m_wndProc;
82
        static LRESULT CALLBACK WindowProcNew(HWND hwnd,UINT message, WPARAM wParam, LPARAM lParam);
83
        CButton *m_pButton;
84
 
85
        BOOL m_bAllowCreation;
86
        static int CALLBACK CBBrowseCallbackProc( HWND hwnd,
87
                UINT uMsg,
88
                LPARAM lParam,
89
                LPARAM lpData
90
                );
91
        void BrowseCallbackProc( HWND hwnd,
92
                UINT uMsg,
93
                LPARAM lParam);
94
 
95
        // Generated message map functions
96
        //{{AFX_MSG(CFolderDialog)
97
        afx_msg void OnBrowse();
98
        virtual void OnOK();
99
        virtual BOOL OnInitDialog();
100
        virtual void OnCancel();
101
        afx_msg void OnChangeFolder();
102
        //}}AFX_MSG
103
        DECLARE_MESSAGE_MAP()
104
};
105
 
106
//{{AFX_INSERT_LOCATION}}
107
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
108
 
109
#endif // !defined(AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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