annotate src/win32/FileDlg.h @ 8:08a8e09ca414

add files required by automake
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:54:39 -0600
parents f9f4f1b99eed
children
rev   line source
rlm@1 1 #if !defined(AFX_FILEDLG_H__7E4F8B92_1B63_4126_8261_D9334C645940__INCLUDED_)
rlm@1 2 #define AFX_FILEDLG_H__7E4F8B92_1B63_4126_8261_D9334C645940__INCLUDED_
rlm@1 3
rlm@1 4 #if _MSC_VER > 1000
rlm@1 5 #pragma once
rlm@1 6 #endif // _MSC_VER > 1000
rlm@1 7 // FileDlg.h : header file
rlm@1 8 //
rlm@1 9
rlm@1 10 struct OPENFILENAMEEX : public OPENFILENAME
rlm@1 11 {
rlm@1 12 void *pvReserved;
rlm@1 13 DWORD dwReserved;
rlm@1 14 DWORD FlagsEx;
rlm@1 15 };
rlm@1 16
rlm@1 17 /////////////////////////////////////////////////////////////////////////////
rlm@1 18 // FileDlg dialog
rlm@1 19
rlm@1 20 class FileDlg
rlm@1 21 {
rlm@1 22 private:
rlm@1 23 CString m_file;
rlm@1 24 CString m_filter;
rlm@1 25 public:
rlm@1 26 OPENFILENAMEEX m_ofn;
rlm@1 27 int DoModal();
rlm@1 28 LPCTSTR GetPathName();
rlm@1 29 virtual int getFilterIndex();
rlm@1 30 virtual void OnTypeChange(HWND hwnd);
rlm@1 31 FileDlg(CWnd *parent, LPCTSTR file, LPCTSTR filter,
rlm@1 32 int filterIndex, LPCTSTR ext, LPCTSTR *exts, LPCTSTR initialDir,
rlm@1 33 LPCTSTR title, bool save, bool noReadOnly = false);
rlm@1 34 virtual ~FileDlg();
rlm@1 35 protected:
rlm@1 36 bool isSave;
rlm@1 37 LPCTSTR *extensions;
rlm@1 38 protected:
rlm@1 39 //{{AFX_INSERT_LOCATION}}
rlm@1 40 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
rlm@1 41 };
rlm@1 42
rlm@1 43 #endif // !defined(AFX_FILEDLG_H__7E4F8B92_1B63_4126_8261_D9334C645940__INCLUDED_)