update for HEAD-2003091401
[reactos.git] / subsys / system / explorer / Seashell / LeftView.h
1 // LeftView.h : interface of the CLeftView class
2 //
3 /////////////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_LEFTVIEW_H__A7EC0A9D_0FD3_4C0B_8853_C94ACB0213E2__INCLUDED_)
6 #define AFX_LEFTVIEW_H__A7EC0A9D_0FD3_4C0B_8853_C94ACB0213E2__INCLUDED_
7
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11
12 class CSeaShellDoc;
13
14 #include "IEShellTreeView.h"
15
16 class CLeftView : public CIEShellTreeView
17 {
18 protected: // create from serialization only
19         CLeftView();
20         DECLARE_DYNCREATE(CLeftView)
21
22 // Attributes
23 public:
24         CSeaShellDoc* GetDocument();
25
26 // Operations
27 public:
28
29 // Overrides
30         // ClassWizard generated virtual function overrides
31         //{{AFX_VIRTUAL(CLeftView)
32         public:
33         virtual void OnDraw(CDC* pDC);  // overridden to draw this view
34         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
35         protected:
36         virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
37         virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
38         virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
39         virtual void OnInitialUpdate(); // called first time after construct
40         //}}AFX_VIRTUAL
41
42 // Implementation
43 public:
44         virtual ~CLeftView();
45 #ifdef _DEBUG
46         virtual void AssertValid() const;
47         virtual void Dump(CDumpContext& dc) const;
48 #endif
49
50 protected:
51
52 // Generated message map functions
53 protected:
54         //{{AFX_MSG(CLeftView)
55                 // NOTE - the ClassWizard will add and remove member functions here.
56                 //    DO NOT EDIT what you see in these blocks of generated code !
57         //}}AFX_MSG
58         DECLARE_MESSAGE_MAP()
59 };
60
61 #ifndef _DEBUG  // debug version in LeftView.cpp
62 inline CSeaShellDoc* CLeftView::GetDocument()
63    { return (CSeaShellDoc*)m_pDocument; }
64 #endif
65
66 /////////////////////////////////////////////////////////////////////////////
67
68 //{{AFX_INSERT_LOCATION}}
69 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
70
71 #endif // !defined(AFX_LEFTVIEW_H__A7EC0A9D_0FD3_4C0B_8853_C94ACB0213E2__INCLUDED_)