Source code of Windows XP (NT5)
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.

52 lines
691 B

  1. #ifndef DOCUMENT_H
  2. #define DOCUMENT_H
  3. #include "stdafx.h"
  4. class Document : public CDocument
  5. {
  6. DECLARE_DYNCREATE( Document )
  7. public:
  8. enum ListViewColumnSize
  9. {
  10. LV_COLUMN_SMALL = 80,
  11. LV_COLUMN_LARGE = 110,
  12. };
  13. // constructor
  14. Document();
  15. void
  16. registerLeftPane( CTreeView* treeView );
  17. CTreeCtrl&
  18. getLeftPane();
  19. void
  20. registerStatusPane( CEditView* editView );
  21. CEdit&
  22. getStatusPane();
  23. void
  24. registerListPane( CListView* listView );
  25. CListCtrl&
  26. getListPane();
  27. CImageList* m_images48x48;
  28. private:
  29. CEditView* m_editView;
  30. CListView* m_listView;
  31. CTreeView* m_treeView;
  32. };
  33. #endif