PageShellDialogFile.h
上传用户:sesekoo
上传日期:2020-07-18
资源大小:21543k
文件大小:3k
源码类别:

界面编程

开发平台:

Visual C++

  1. #if !defined(__PAGE_SHELL_DIALOG_FILE_H)
  2. #define __PAGE_SHELL_DIALOG_FILE_H
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PageShellDialogFile.h : header file
  7. //
  8. #if ( ! defined __EXT_MFC_NO_SHELL_DIALOG_FILE )
  9. #include "PageBase.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPageShellDialogFile dialog
  12. class CPageShellDialogFile : public CPageBase 
  13. {
  14. // Construction
  15. public:
  16. CPageShellDialogFile(CWnd* pParent = NULL);   // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CPageShellDialogFile)
  19. enum { IDD = IDD_PAGE_SHELL_DIALOG_FILE };
  20. CExtCheckBox m_checkJumpToCurrentDirectoryInitially;
  21. CExtCheckBox m_checkAllowCurrentDirectoryChanging;
  22.   CExtCheckBox m_checkCompareWithWindowsDialogs;
  23.   CExtCheckBox m_checkShowTree;
  24.   CExtCheckBox m_checkUseSplitter;
  25.   CExtCheckBox m_checkCollapsingAnimation;
  26. CExtCheckBox m_checkShowRootFolder;
  27. CExtCheckBox m_checkShowParentFolder;
  28.   CExtCheckBox m_checkEnableShellContextMenusFD;
  29.   CExtCheckBox m_checkInitiallyCollapsed;
  30.   CExtCheckBox m_checkEnableCollapsing;
  31.   CExtCheckBox m_checkShowHiddenItemsFD;
  32.   CExtCheckBox m_checkResolveLinks;
  33.   CExtCheckBox m_checkWriteAccess;
  34.   CExtCheckBox m_checkShowFTCombo;
  35.   CExtCheckBox m_checkReadAccess;
  36.   CExtCheckBox m_checkPromptOverwrite;
  37.   CExtCheckBox m_checkFNEShow;
  38.   CExtCheckBox m_checkFNEReadOnly;
  39.   CExtCheckBox m_checkFilesMustExist;
  40.   CExtCheckBox m_checkPathMustExist;
  41.   CExtEdit m_editCustomCaptionForFileTypeLabel;
  42.   CExtEdit m_editCustomCaptionForFileNameLabel;
  43.   CExtEdit m_editCustomCaptionForCancelButton2;
  44.   CExtEdit m_editCustomCaptionForOpenSaveButton;
  45.   CExtEdit m_editCustomCaptionForFileDialog;
  46.   CExtComboBox m_comboFileDialogType;
  47.   CExtEdit m_editInitialFolderForFileDialog;
  48.   CExtEdit m_editInitialFileTypeIndex;
  49.   CExtSpinWnd m_spinInitialFileTypeIndex;
  50.   CExtEdit m_editInitialFileNames;
  51. CExtCheckBox m_checkSaveRestoreShellLocation;
  52. CExtCheckBox m_checkSaveRestoreWindowPosition;
  53. //}}AFX_DATA
  54. CExtNCSB < CExtEdit > m_editResultOfFileDialog;
  55. CExtEdit m_editFileDialogFilter;
  56. protected:
  57. CString m_strRootCurrent;
  58. CExtPIDL m_pidlCustomRoot;
  59. // Overrides
  60. // ClassWizard generated virtual function overrides
  61. //{{AFX_VIRTUAL(CPageShellDialogFile)
  62. protected:
  63. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  64. //}}AFX_VIRTUAL
  65. // Implementation
  66. protected:
  67. bool m_bInitComplete:1;
  68. // Generated message map functions
  69. //{{AFX_MSG(CPageShellDialogFile)
  70. virtual BOOL OnInitDialog();
  71. afx_msg void OnButtonShowWindowsDialog();
  72. afx_msg void OnButtonShowProfUisDialog();
  73. afx_msg void OnCheckCompareWithWindowsDialogs();
  74. afx_msg void OnCheckSrSl();
  75. afx_msg void OnCheckJumpToCurrentDirectoryInitially();
  76. //}}AFX_MSG
  77. DECLARE_MESSAGE_MAP()
  78. };
  79. #endif // ( ! defined __EXT_MFC_NO_SHELL_DIALOG_FILE )
  80. //{{AFX_INSERT_LOCATION}}
  81. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  82. #endif // !defined(__PAGE_SHELL_DIALOG_FILE_H)