Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

  1. #if !defined(AFX_OPENFILE_H__56E80E83_5041_11D1_B7E0_00AA0037E04F__INCLUDED_)
  2. #define AFX_OPENFILE_H__56E80E83_5041_11D1_B7E0_00AA0037E04F__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // openfile.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // COpenFile dialog
  10. class COpenFile : public CFileDialog
  11. {
  12. // Construction
  13. public:
  14. //COpenFile(CWnd* pParent = NULL); // standard constructor
  15. COpenFile( BOOL bOpenFileDialog,
  16. LPCTSTR lpszDefExt = NULL,
  17. LPCTSTR lpszFileName = NULL,
  18. DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
  19. LPCTSTR lpszFilter = NULL,
  20. CWnd* pParentWnd = NULL );
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(COpenFile)
  24. protected:
  25. virtual void OnFolderChange( );
  26. virtual void OnInitDone( );
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. //int m_nIdEditCtrl;
  31. HWND m_hWndIdEditCtrl;
  32. // Generated message map functions
  33. //{{AFX_MSG(COpenFile)
  34. //}}AFX_MSG
  35. DECLARE_MESSAGE_MAP()
  36. };
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  39. #endif // !defined(AFX_OPENFILE_H__56E80E83_5041_11D1_B7E0_00AA0037E04F__INCLUDED_)