1 #if !defined(AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED_)
2 #define AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED_
6 #endif // _MSC_VER > 1000
8 // MfcControlCtl.h : Declaration of the CMfcControlCtrl ActiveX Control class.
10 /////////////////////////////////////////////////////////////////////////////
11 // CMfcControlCtrl : See MfcControlCtl.cpp for implementation.
13 class CMfcControlCtrl
: public COleControl
15 DECLARE_DYNCREATE(CMfcControlCtrl
)
22 // ClassWizard generated virtual function overrides
23 //{{AFX_VIRTUAL(CMfcControlCtrl)
25 virtual void OnDraw(CDC
* pdc
, const CRect
& rcBounds
, const CRect
& rcInvalid
);
26 virtual void DoPropExchange(CPropExchange
* pPX
);
27 virtual void OnResetState();
34 DECLARE_OLECREATE_EX(CMfcControlCtrl
) // Class factory and guid
35 DECLARE_OLETYPELIB(CMfcControlCtrl
) // GetTypeInfo
36 DECLARE_PROPPAGEIDS(CMfcControlCtrl
) // Property page IDs
37 DECLARE_OLECTLTYPE(CMfcControlCtrl
) // Type name and misc status
40 //{{AFX_MSG(CMfcControlCtrl)
41 // NOTE - ClassWizard will add and remove member functions here.
42 // DO NOT EDIT what you see in these blocks of generated code !
47 //{{AFX_DISPATCH(CMfcControlCtrl)
48 afx_msg
short inShort(short val
);
49 afx_msg
long inLong(long val
);
50 afx_msg BSTR
inString(BSTR
* val
);
51 afx_msg
float inFloat(float val
);
52 afx_msg
double inDouble(double val
);
53 afx_msg VARIANT
inVariant(const VARIANT FAR
& val
);
54 afx_msg LPDISPATCH
inObject(LPDISPATCH val
);
55 afx_msg
void outShort(short* val
);
56 afx_msg
void outLong(long* val
);
57 afx_msg
void outString(BSTR FAR
* val
);
58 afx_msg
void outFloat(float* val
);
59 afx_msg
void outDouble(double* val
);
60 afx_msg
void outVariant(VARIANT FAR
* val
);
61 afx_msg
void outObject(LPDISPATCH FAR
* val
);
63 DECLARE_DISPATCH_MAP()
66 //{{AFX_EVENT(CMfcControlCtrl)
70 // Dispatch and event IDs
73 //{{AFX_DISP_ID(CMfcControlCtrl)
83 dispidOutString
= 10L,
85 dispidOutDouble
= 12L,
86 dispidOutVariant
= 13L,
87 dispidOutObject
= 14L,
92 //{{AFX_INSERT_LOCATION}}
93 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
95 #endif // !defined(AFX_MFCCONTROLCTL_H__AC221FC3_A0D8_11D4_833B_005004526AB4__INCLUDED)