// CtrlHolder.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCtrlHolder window

class CCtrlHolder : public CWnd
{
// Construction
public:

	CCtrlHolder(CString);
	CCtrlHolder (CLSID) ;

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCtrlHolder)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CCtrlHolder();

	CString m_ClsidString ;
	CLSID m_Clsid ;

	HRESULT	GetDispatch (LPDISPATCH * pOut) ;
	HRESULT GetTypeInfo (LPTYPEINFO * pOut) ;
	HRESULT SetPropByName (CString PropName, CString PropVal);
	HRESULT GetIDOfName (CString &, DISPID *) ;
	HRESULT GetTypeOfProperty (DISPID id, VARTYPE *vt);


	// Generated message map functions
protected:
	//{{AFX_MSG(CCtrlHolder)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
