Mercurial > vba-linux
view src/win32/FileDlg.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #if !defined(AFX_FILEDLG_H__7E4F8B92_1B63_4126_8261_D9334C645940__INCLUDED_)2 #define AFX_FILEDLG_H__7E4F8B92_1B63_4126_8261_D9334C645940__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // FileDlg.h : header file8 //10 struct OPENFILENAMEEX : public OPENFILENAME11 {12 void *pvReserved;13 DWORD dwReserved;14 DWORD FlagsEx;15 };17 /////////////////////////////////////////////////////////////////////////////18 // FileDlg dialog20 class FileDlg21 {22 private:23 CString m_file;24 CString m_filter;25 public:26 OPENFILENAMEEX m_ofn;27 int DoModal();28 LPCTSTR GetPathName();29 virtual int getFilterIndex();30 virtual void OnTypeChange(HWND hwnd);31 FileDlg(CWnd *parent, LPCTSTR file, LPCTSTR filter,32 int filterIndex, LPCTSTR ext, LPCTSTR *exts, LPCTSTR initialDir,33 LPCTSTR title, bool save, bool noReadOnly = false);34 virtual ~FileDlg();35 protected:36 bool isSave;37 LPCTSTR *extensions;38 protected:39 //{{AFX_INSERT_LOCATION}}40 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.41 };43 #endif // !defined(AFX_FILEDLG_H__7E4F8B92_1B63_4126_8261_D9334C645940__INCLUDED_)