DlgCreateVirtualDirectory.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. // DlgCreateVirtualDirectory.h : header file
  13. //
  14. #ifndef DLGCREATEVIRTUALDIRECTORY_H
  15. #define DLGCREATEVIRTUALDIRECTORY_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CDlgCreateVirtualDirectory dialog
  18. class CDlgCreateVirtualDirectory : public CDialog
  19. {
  20. // Construction
  21. public:
  22. CDlgCreateVirtualDirectory(CTString strOldName = CTString(""),
  23. CTString strTitle = CTString("Create virtual directory"), CWnd* pParent = NULL);
  24. CTString m_strTitle;
  25. CTString m_strCreatedDirName;
  26. CImageList m_IconsImageList;
  27. INDEX m_iSelectedIconType;
  28. // Dialog Data
  29. //{{AFX_DATA(CDlgCreateVirtualDirectory)
  30. enum { IDD = IDD_CREATE_VIRTUAL_DIRECTORY };
  31. CListCtrl m_DirectoryIconsList;
  32. CString m_strDirectoryName;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CDlgCreateVirtualDirectory)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(CDlgCreateVirtualDirectory)
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnDblclkDirectoryIconList(NMHDR* pNMHDR, LRESULT* pResult);
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. #endif // DLGCREATEVIRTUALDIRECTORY_H