forked from Travis-Sun/pywin32
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpythonview.h
More file actions
77 lines (65 loc) · 1.78 KB
/
pythonview.h
File metadata and controls
77 lines (65 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// Pythonview.h : header file
//
#ifndef __PYTHONVIEW_H__
#define __PYTHONVIEW_H__
/////////////////////////////////////////////////////////////////////////////
// CPythonViewTemp
class CPythonViewImpl : public CScrollView
{
public:
virtual void OnPrepareDC (CDC *pDC, CPrintInfo *pInfo);
};
class CPythonListViewImpl : public CListView
{
// DECLARE_DYNCREATE(CPythonListViewImpl)
public:
CPythonListViewImpl();
~CPythonListViewImpl();
// Operations
virtual void DrawItem( LPDRAWITEMSTRUCT lpDrawItemStruct );
};
class CPythonTreeViewImpl : public CTreeView
{
// DECLARE_DYNCREATE(CPythonTreeViewImpl)
public:
CPythonTreeViewImpl();
~CPythonTreeViewImpl();
// Operations
virtual void DrawItem( LPDRAWITEMSTRUCT lpDrawItemStruct );
};
class CPythonEditView : public CPythonViewFramework< CEditView >
{
DECLARE_DYNAMIC(CPythonEditView);
};
class CPythonView : public CPythonViewFramework<CPythonViewImpl>
{
DECLARE_DYNAMIC(CPythonView);
};
class CPythonListView : public CPythonViewFramework<CPythonListViewImpl>
{
DECLARE_DYNAMIC(CPythonListView);
};
class CPythonTreeView : public CPythonViewFramework<CPythonTreeViewImpl>
{
DECLARE_DYNAMIC(CPythonTreeView);
};
class CPythonFormView : public CPythonViewFramework<CFormView>
{
public:
CPythonFormView(UINT id) :
CPythonViewFramework<CFormView>(id) {;}
CPythonFormView(LPCTSTR id) :
CPythonViewFramework<CFormView>(id) {;}
DECLARE_DYNAMIC(CPythonFormView);
};
class CPythonCtrlView : public CPythonViewFramework<CCtrlView>
{
DECLARE_DYNAMIC(CPythonCtrlView);
public:
CPythonCtrlView(LPCTSTR lpszClass, DWORD dwStyle) :
CPythonViewFramework<CCtrlView>(lpszClass, dwStyle)
{;}
};
//typedef CPythonViewFramework<CCtrlView> CPythonCtrlView;
#endif // __filename_h__
/////////////////////////////////////////////////////////////////////////////