forked from Thomas-Mielke-Software/ECTImport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathECTImportXCtrl.h
59 lines (44 loc) · 1.2 KB
/
ECTImportXCtrl.h
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
#pragma once
// ECTImportXCtrl.h : Declaration of the CECTImportXCtrl ActiveX Control class.
// CECTImportXCtrl : See ECTImportXCtrl.cpp for implementation.
class CECTImportXCtrl : public COleControl
{
DECLARE_DYNCREATE(CECTImportXCtrl)
// Constructor
public:
CECTImportXCtrl();
// Overrides
public:
virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
virtual void DoPropExchange(CPropExchange* pPX);
virtual void OnResetState();
// Implementation
protected:
~CECTImportXCtrl();
CImport* m_pImport;
CImportParamsList *m_pImportParamsList;
CDlgImportDescr *m_pImportDlg;
CDlgAbout *m_pDlgAbout;
int m_pDoc;
DECLARE_OLECREATE_EX(CECTImportXCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CECTImportXCtrl) // GetTypeInfo
DECLARE_OLECTLTYPE(CECTImportXCtrl) // Type name and misc status
// Message maps
DECLARE_MESSAGE_MAP()
// Dispatch maps
DECLARE_DISPATCH_MAP()
afx_msg void AboutBox();
// Event maps
DECLARE_EVENT_MAP()
// Dispatch and event IDs
public:
enum {
dispidInit = 1L
};
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
protected:
void Init(LONG dokID);
public:
afx_msg void OnDestroy();
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
};