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.

59 lines
1.6 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: FileExclDlg.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //-----------------------------------------------------------------------------
  8. #if !defined(AFX_FILEEXCLDLG_H__A0269213_4B2B_11D1_9F0F_006008166DEA__INCLUDED_)
  9. #define AFX_FILEEXCLDLG_H__A0269213_4B2B_11D1_9F0F_006008166DEA__INCLUDED_
  10. #pragma warning(disable : 4275)
  11. #pragma warning(disable : 4251)
  12. class LTAPIENTRY CLFileExclDlg : public CLFileDialog
  13. {
  14. DECLARE_DYNAMIC(CLFileExclDlg)
  15. public:
  16. CLFileExclDlg(
  17. BOOL bOpenFileDialog = TRUE, // TRUE for FileOpen, FALSE for FileSaveAs
  18. LPCTSTR lpszDefExt = NULL,
  19. LPCTSTR lpszFileName = NULL,
  20. DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
  21. LPCTSTR lpszFilter = NULL,
  22. CWnd* pParentWnd = NULL,
  23. LPCTSTR pszTitle = NULL);
  24. BOOL GetExclusivePref( ) const;
  25. // Dialog Data
  26. //{{AFX_DATA(CLFileExclDlg)
  27. BOOL m_bExclusive;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CLFileExclDlg)
  32. public:
  33. virtual int DoModal();
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. protected:
  37. //{{AFX_MSG(CLFileExclDlg)
  38. // NOTE - the ClassWizard will add and remove member functions here.
  39. virtual BOOL OnInitDialog();
  40. afx_msg void OnClickChkExcl();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. #pragma warning(default : 4275)
  45. #pragma warning(default : 4251)
  46. #endif // !defined(AFX_FILEEXCLDLG_H__A0269213_4B2B_11D1_9F0F_006008166DEA__INCLUDED_)