PropPageMFCCtl.h
上传用户:lc8096
上传日期:2007-01-02
资源大小:40k
文件大小:2k
- #if !defined(AFX_PROPPAGEMFCCTL_H__A56A23E0_79AF_11D2_8DC4_C36D152E46FE__INCLUDED_)
- #define AFX_PROPPAGEMFCCTL_H__A56A23E0_79AF_11D2_8DC4_C36D152E46FE__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // PropPageMFCCtl.h : Declaration of the CPropPageMFCCtrl ActiveX Control class.
- /////////////////////////////////////////////////////////////////////////////
- // CPropPageMFCCtrl : See PropPageMFCCtl.cpp for implementation.
- class CPropPageMFCCtrl : public COleControl
- {
- DECLARE_DYNCREATE(CPropPageMFCCtrl)
- // Constructor
- public:
- CPropPageMFCCtrl();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPropPageMFCCtrl)
- public:
- virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
- virtual void DoPropExchange(CPropExchange* pPX);
- virtual void OnResetState();
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- ~CPropPageMFCCtrl();
- DECLARE_OLECREATE_EX(CPropPageMFCCtrl) // Class factory and guid
- DECLARE_OLETYPELIB(CPropPageMFCCtrl) // GetTypeInfo
- DECLARE_PROPPAGEIDS(CPropPageMFCCtrl) // Property page IDs
- DECLARE_OLECTLTYPE(CPropPageMFCCtrl) // Type name and misc status
- // Message maps
- //{{AFX_MSG(CPropPageMFCCtrl)
- // NOTE - ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- // Dispatch maps
- //{{AFX_DISPATCH(CPropPageMFCCtrl)
- afx_msg void Execute();
- //}}AFX_DISPATCH
- DECLARE_DISPATCH_MAP()
- // Event maps
- //{{AFX_EVENT(CPropPageMFCCtrl)
- void FireObjectFound(LPCTSTR ObjectID)
- {FireEvent(eventidObjectFound,EVENT_PARAM(VTS_BSTR), ObjectID);}
- //}}AFX_EVENT
- DECLARE_EVENT_MAP()
- // Dispatch and event IDs
- public:
- enum {
- //{{AFX_DISP_ID(CPropPageMFCCtrl)
- dispidExecute = 1L,
- eventidObjectFound = 1L,
- //}}AFX_DISP_ID
- };
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PROPPAGEMFCCTL_H__A56A23E0_79AF_11D2_8DC4_C36D152E46FE__INCLUDED)