1*cdf0e10cSrcweir #if !defined(AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED_)
2*cdf0e10cSrcweir #define AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED_
3*cdf0e10cSrcweir 
4*cdf0e10cSrcweir #if _MSC_VER > 1000
5*cdf0e10cSrcweir #pragma once
6*cdf0e10cSrcweir #endif // _MSC_VER > 1000
7*cdf0e10cSrcweir 
8*cdf0e10cSrcweir // MfcControlCtl.h : Declaration of the CMfcControlCtrl ActiveX Control class.
9*cdf0e10cSrcweir 
10*cdf0e10cSrcweir /////////////////////////////////////////////////////////////////////////////
11*cdf0e10cSrcweir // CMfcControlCtrl : See MfcControlCtl.cpp for implementation.
12*cdf0e10cSrcweir 
13*cdf0e10cSrcweir class CMfcControlCtrl : public COleControl
14*cdf0e10cSrcweir {
15*cdf0e10cSrcweir 	DECLARE_DYNCREATE(CMfcControlCtrl)
16*cdf0e10cSrcweir 
17*cdf0e10cSrcweir // Constructor
18*cdf0e10cSrcweir public:
19*cdf0e10cSrcweir 	CMfcControlCtrl();
20*cdf0e10cSrcweir 
21*cdf0e10cSrcweir // Overrides
22*cdf0e10cSrcweir 	// ClassWizard generated virtual function overrides
23*cdf0e10cSrcweir 	//{{AFX_VIRTUAL(CMfcControlCtrl)
24*cdf0e10cSrcweir 	public:
25*cdf0e10cSrcweir 	virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
26*cdf0e10cSrcweir 	virtual void DoPropExchange(CPropExchange* pPX);
27*cdf0e10cSrcweir 	virtual void OnResetState();
28*cdf0e10cSrcweir 	//}}AFX_VIRTUAL
29*cdf0e10cSrcweir 
30*cdf0e10cSrcweir // Implementation
31*cdf0e10cSrcweir protected:
32*cdf0e10cSrcweir 	~CMfcControlCtrl();
33*cdf0e10cSrcweir 
34*cdf0e10cSrcweir 	DECLARE_OLECREATE_EX(CMfcControlCtrl)    // Class factory and guid
35*cdf0e10cSrcweir 	DECLARE_OLETYPELIB(CMfcControlCtrl)      // GetTypeInfo
36*cdf0e10cSrcweir 	DECLARE_PROPPAGEIDS(CMfcControlCtrl)     // Property page IDs
37*cdf0e10cSrcweir 	DECLARE_OLECTLTYPE(CMfcControlCtrl)		// Type name and misc status
38*cdf0e10cSrcweir 
39*cdf0e10cSrcweir // Message maps
40*cdf0e10cSrcweir 	//{{AFX_MSG(CMfcControlCtrl)
41*cdf0e10cSrcweir 		// NOTE - ClassWizard will add and remove member functions here.
42*cdf0e10cSrcweir 		//    DO NOT EDIT what you see in these blocks of generated code !
43*cdf0e10cSrcweir 	//}}AFX_MSG
44*cdf0e10cSrcweir 	DECLARE_MESSAGE_MAP()
45*cdf0e10cSrcweir 
46*cdf0e10cSrcweir // Dispatch maps
47*cdf0e10cSrcweir 	//{{AFX_DISPATCH(CMfcControlCtrl)
48*cdf0e10cSrcweir 	afx_msg short inShort(short val);
49*cdf0e10cSrcweir 	afx_msg long inLong(long val);
50*cdf0e10cSrcweir 	afx_msg BSTR inString(BSTR* val);
51*cdf0e10cSrcweir 	afx_msg float inFloat(float val);
52*cdf0e10cSrcweir 	afx_msg double inDouble(double val);
53*cdf0e10cSrcweir 	afx_msg VARIANT inVariant(const VARIANT FAR& val);
54*cdf0e10cSrcweir 	afx_msg LPDISPATCH inObject(LPDISPATCH val);
55*cdf0e10cSrcweir 	afx_msg void outShort(short* val);
56*cdf0e10cSrcweir 	afx_msg void outLong(long* val);
57*cdf0e10cSrcweir 	afx_msg void outString(BSTR FAR* val);
58*cdf0e10cSrcweir 	afx_msg void outFloat(float* val);
59*cdf0e10cSrcweir 	afx_msg void outDouble(double* val);
60*cdf0e10cSrcweir 	afx_msg void outVariant(VARIANT FAR* val);
61*cdf0e10cSrcweir 	afx_msg void outObject(LPDISPATCH FAR* val);
62*cdf0e10cSrcweir 	//}}AFX_DISPATCH
63*cdf0e10cSrcweir 	DECLARE_DISPATCH_MAP()
64*cdf0e10cSrcweir 
65*cdf0e10cSrcweir // Event maps
66*cdf0e10cSrcweir 	//{{AFX_EVENT(CMfcControlCtrl)
67*cdf0e10cSrcweir 	//}}AFX_EVENT
68*cdf0e10cSrcweir 	DECLARE_EVENT_MAP()
69*cdf0e10cSrcweir 
70*cdf0e10cSrcweir // Dispatch and event IDs
71*cdf0e10cSrcweir public:
72*cdf0e10cSrcweir 	enum {
73*cdf0e10cSrcweir 	//{{AFX_DISP_ID(CMfcControlCtrl)
74*cdf0e10cSrcweir 	dispidInShort = 1L,
75*cdf0e10cSrcweir 	dispidInLong = 2L,
76*cdf0e10cSrcweir 	dispidInString = 3L,
77*cdf0e10cSrcweir 	dispidInFloat = 4L,
78*cdf0e10cSrcweir 	dispidInDouble = 5L,
79*cdf0e10cSrcweir 	dispidInVariant = 6L,
80*cdf0e10cSrcweir 	dispidInObject = 7L,
81*cdf0e10cSrcweir 	dispidOutShort = 8L,
82*cdf0e10cSrcweir 	dispidOutLong = 9L,
83*cdf0e10cSrcweir 	dispidOutString = 10L,
84*cdf0e10cSrcweir 	dispidOutFloat = 11L,
85*cdf0e10cSrcweir 	dispidOutDouble = 12L,
86*cdf0e10cSrcweir 	dispidOutVariant = 13L,
87*cdf0e10cSrcweir 	dispidOutObject = 14L,
88*cdf0e10cSrcweir 	//}}AFX_DISP_ID
89*cdf0e10cSrcweir 	};
90*cdf0e10cSrcweir };
91*cdf0e10cSrcweir 
92*cdf0e10cSrcweir //{{AFX_INSERT_LOCATION}}
93*cdf0e10cSrcweir // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
94*cdf0e10cSrcweir 
95*cdf0e10cSrcweir #endif // !defined(AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED)
96*cdf0e10cSrcweir // BYTE
97