Leaked source code of windows server 2003
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.

64 lines
1.5 KiB

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