1 //####COPYRIGHTBEGIN####
3 // ----------------------------------------------------------------------------
4 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
6 // This program is part of the eCos host tools.
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)
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
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.
22 // ----------------------------------------------------------------------------
24 //####COPYRIGHTEND####
25 //===========================================================================
26 //#####DESCRIPTIONBEGIN####
33 // Description: Interface of the find folder dialog
40 //####DESCRIPTIONEND####
42 //===========================================================================
43 #if !defined(AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_)
44 #define AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_
48 #endif // _MSC_VER >= 1000
49 // FolderDialog.h : header file
54 #include "eCosDialog.h"
55 /////////////////////////////////////////////////////////////////////////////
56 // CFolderDialog dialog
58 class CFolderDialog : public CeCosDialog
63 CFolderDialog(BOOL bAllowCreation=TRUE, UINT id=0); // standard constructor
65 CFileName m_strFolder;
68 //{{AFX_DATA(CFolderDialog)
73 // ClassWizard generated virtual function overrides
74 //{{AFX_VIRTUAL(CFolderDialog)
76 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
84 static WNDPROC m_wndProc;
85 static LRESULT CALLBACK WindowProcNew(HWND hwnd,UINT message, WPARAM wParam, LPARAM lParam);
88 BOOL m_bAllowCreation;
89 static int CALLBACK CBBrowseCallbackProc( HWND hwnd,
94 void BrowseCallbackProc( HWND hwnd,
98 // Generated message map functions
99 //{{AFX_MSG(CFolderDialog)
100 afx_msg void OnBrowse();
102 virtual BOOL OnInitDialog();
103 virtual void OnCancel();
104 afx_msg void OnChangeFolder();
106 DECLARE_MESSAGE_MAP()
109 //{{AFX_INSERT_LOCATION}}
110 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
112 #endif // !defined(AFX_FOLDERDIALOG_H__15EC5D2F_1707_11D2_80C0_00A0C949ADAC__INCLUDED_)