update for HEAD-2003091401
[reactos.git] / subsys / system / explorer / Seashell / SeaShellExt / Include / IEShellListView.h
1 //*******************************************************************************
2 // COPYRIGHT NOTES
3 // ---------------
4 // You may use this source code, compile or redistribute it as part of your application 
5 // for free. You cannot redistribute it as a part of a software development 
6 // library without the agreement of the author. If the sources are 
7 // distributed along with the application, you should leave the original 
8 // copyright notes in the source code without any changes.
9 // This code can be used WITHOUT ANY WARRANTIES at your own risk.
10 // 
11 // For the latest updates to this code, check this site:
12 // http://www.masmex.com 
13 // after Sept 2000
14 // 
15 // Copyright(C) 2000 Philip Oldaker <email: philip@masmex.com>
16 //*******************************************************************************
17
18 #ifndef __IESHELLLISTVIEW_H__
19 #define __IESHELLLISTVIEW_H__
20
21 #if _MSC_VER > 1000
22 #pragma once
23 #endif // _MSC_VER > 1000
24
25 // IEShellListView.h : header file
26 //
27 #include "IEShellListCtrl.h"
28 #include "UIListView.h"
29 #include "HtmlCtrl.h"
30 /////////////////////////////////////////////////////////////////////////////
31 // CIEShellListView window
32
33 class CTRL_EXT_CLASS CIEShellListView : public CUIListView
34 {
35 // Construction
36 protected:
37         CIEShellListView();
38         DECLARE_DYNCREATE(CIEShellListView)
39
40 // Attributes
41 public:
42         CIEShellListCtrl &GetShellListCtrl();
43
44 // Operations
45 public:
46 // Overrides
47
48 protected:
49         virtual void LoadShellFolderItems(const CRefreshShellFolder &rFolder);
50         virtual void SetActiveWindow(CWnd *pWnd);
51         // ClassWizard generated virtual function overrides
52         //{{AFX_VIRTUAL(CIEShellListView)
53         public:
54         virtual void CreateListCtrl();
55         virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
56         //}}AFX_VIRTUAL
57 // Implementation
58 public:
59         virtual ~CIEShellListView();
60
61 // Generated message map functions
62 protected:
63         //{{AFX_MSG(CIEShellListView)
64                         // NOTE - the ClassWizard will add and remove member functions here.
65         afx_msg LRESULT OnAppUpdateAllViews(WPARAM wParam,LPARAM lParam);
66         afx_msg void OnSize(UINT nType, int cx, int cy);
67         afx_msg LRESULT OnSetmessagestring(WPARAM wParam, LPARAM lParam );
68         //}}AFX_MSG
69         afx_msg LRESULT OnCBIESelChange(WPARAM wParam,LPARAM lParam);
70         afx_msg LRESULT OnCBIEHitEnter(WPARAM wParam,LPARAM lParam);
71         DECLARE_MESSAGE_MAP()
72 private:
73         CWnd *m_pActiveWnd;
74         CHtmlCtrl m_htmlCtrl;
75 };
76 /////////////////////////////////////////////////////////////////////////////
77
78 //{{AFX_INSERT_LOCATION}}
79 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
80
81 #endif //__IESHELLLISTVIEW_H__