FileServer.h
上传用户:yatsl7111
上传日期:2007-01-08
资源大小:1433k
文件大小:2k
源码类别:

图形图象

开发平台:

Visual C++

  1. #if !defined(AFX_FILESERVER_H__BEB4EF61_D4CD_11D4_8853_444553540000__INCLUDED_)
  2. #define AFX_FILESERVER_H__BEB4EF61_D4CD_11D4_8853_444553540000__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // FileServer.h : header file
  7. //
  8. #define ISEE_EXPLORER_FILESERVER_FIRST 1100
  9. #define ISEE_EXPLORER_CONTAINER_FOLDER_ID ISEE_EXPLORER_FILESERVER_FIRST+1
  10. #define ISEE_EXPLORER_CONTAINER_FILELIST_ID ISEE_EXPLORER_FILESERVER_FIRST+2
  11. #define ISEE_EXPLORER_FOLDER_VIEW_ID ISEE_EXPLORER_FILESERVER_FIRST+3
  12. #define ISEE_EXPLORER_FILELIST_VIEW_ID ISEE_EXPLORER_FILESERVER_FIRST+4
  13. #define ISEE_EXPLORER_FILESERVER_LAST 1200
  14. class CMainFrame;
  15. class CISeeExplorerDoc;
  16. class CFSFileList;
  17. class CFSFolder;
  18. class CFolderView;
  19. class CFileListView;
  20. class CFileServer;
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CFileServer window
  23. #include "viewctrlbar.h"
  24. class CFileServer : public CObject
  25. {
  26. // Construction
  27. public:
  28. CFileServer();
  29. // Attributes
  30. public:
  31. CISeeExplorerDoc *m_pDoc;
  32. CString m_strFolder;
  33. CString m_strFileList;
  34. CImageList m_Imagelist; // 文件服务器的容器按钮图像
  35. CFSFolder *m_pFolder; // 文件夹
  36. CFSFileList *m_pFileList; // 文件列表
  37. // Operations
  38. public:
  39. // Overrides
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(CFileServer)
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. public:
  45. CViewCtrlBar m_bar;
  46. BOOL OnIdle(LONG lCount);
  47. void SetListViewType( UINT Style );
  48. void * GetIdleFuncAddr();
  49. int CreateVisualComponents(CMainFrame *pParentFrm, CCreateContext* pContext);
  50. BOOL InitialFileServer(CISeeExplorerDoc *pParentDoc);
  51. virtual ~CFileServer();
  52. };
  53. /////////////////////////////////////////////////////////////////////////////
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_FILESERVER_H__BEB4EF61_D4CD_11D4_8853_444553540000__INCLUDED_)