PLUGINC.H

// PluginC.h : Declaration of the CPluginCtrl OLE control class. 

/////////////////////////////////////////////////////////////////////////////
// CPluginCtrl : See PluginC.cpp for implementation.

class CPluginCtrl : public COleControl
{
DECLARE_DYNCREATE(CPluginCtrl)

// Constructor
public:
CPluginCtrl();

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPluginCtrl)
public:
virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
virtual void DoPropExchange(CPropExchange* pPX);
virtual void OnResetState();
//}}AFX_VIRTUAL

// Implementation
protected:
~CPluginCtrl();

DECLARE_OLECREATE_EX(CPluginCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CPluginCtrl) // GetTypeInfo
DECLARE_PROPPAGEIDS(CPluginCtrl) // Property page IDs
DECLARE_OLECTLTYPE(CPluginCtrl)// Type name and misc status

// Message maps
//{{AFX_MSG(CPluginCtrl)
// 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(CPluginCtrl)
afx_msg long MprUISetContext(long lNode, long lContext);
afx_msg long MprUIRefresh();
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()

// Event maps
//{{AFX_EVENT(CPluginCtrl)
//}}AFX_EVENT
DECLARE_EVENT_MAP()

// Dispatch and event IDs
public:
enum {
//{{AFX_DISP_ID(CPluginCtrl)
dispidMprUISetContext = 1L,
dispidMprUIRefresh = 2L,
//}}AFX_DISP_ID
};
};