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

界面编程

开发平台:

Visual C++

  1. #if !defined(__PAGE_SHELL_DIALOG_BROWSE_FOR_H)
  2. #define __PAGE_SHELL_DIALOG_BROWSE_FOR_H
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PageShellDialogBrowseFor.h : header file
  7. //
  8. #if ( ! defined __EXT_MFC_NO_SHELL_DIALOG_BFF )
  9. #include "PageBase.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPageShellDialogBrowseFor dialog
  12. class CPageShellDialogBrowseFor : public CPageBase 
  13. {
  14. // Construction
  15. public:
  16. CPageShellDialogBrowseFor(CWnd* pParent = NULL);   // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CPageShellDialogBrowseFor)
  19. enum { IDD = IDD_PAGE_SHELL_DIALOG_BROWSE_FOR };
  20. CExtCheckBox m_checkJumpToCurrentDirectoryInitially;
  21. CExtCheckBox m_checkAllowCurrentDirectoryChanging;
  22.   CExtCheckBox m_checkCompareWithWindowsDialogs;
  23.   CExtCheckBox m_checkEnableShellContextMenusBFF;
  24.   CExtCheckBox m_checkShowHiddenItemsBFF;
  25.   CExtEdit m_editCustomCaptionForNewFolderButton;
  26.   CExtEdit m_editCustomCaptionForEditLabel;
  27.   CExtEdit m_editCustomCaptionForCancelButton1;
  28.   CExtEdit m_labelEditRootInBrowseForDialog;
  29.   CExtEdit m_editCustomCaptionForOkButton;
  30.   CExtEdit m_editCustomCaptionForBrowseForDialog;
  31.   CExtCheckBox m_checkShowNewFolderButton;
  32.   CExtCheckBox m_checkShowEdit;
  33.   CExtEdit m_editTitleText;
  34.   CExtEdit m_editInitialFolderForBrowseDialog;
  35. CExtCheckBox m_checkSaveRestoreShellLocation;
  36. CExtCheckBox m_checkSaveRestoreWindowPosition;
  37. //}}AFX_DATA
  38. CExtEdit m_editResultOfBrowseDialog;
  39. CString m_strRootCurrent;
  40. CExtPIDL m_pidlCustomRoot;
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(CPageShellDialogBrowseFor)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. bool m_bInitComplete:1;
  50. // Generated message map functions
  51. //{{AFX_MSG(CPageShellDialogBrowseFor)
  52. virtual BOOL OnInitDialog();
  53. afx_msg void OnButtonShowWindowsDialog();
  54. afx_msg void OnButtonShowProfUisDialog();
  55. afx_msg void OnButtonSetCustomRoot();
  56. afx_msg void OnButtonResetCustomRoot();
  57. afx_msg void OnCheckCompareWithWindowsDialogs();
  58. afx_msg void OnCheckSrSl();
  59. afx_msg void OnCheckJumpToCurrentDirectoryInitially();
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. LRESULT BrowseCallbackProc( WPARAM wParam, LPARAM lParam );
  63. };
  64. #endif // ( ! defined __EXT_MFC_NO_SHELL_DIALOG_BFF )
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(__PAGE_SHELL_DIALOG_BROWSE_FOR_H)