// AtextCtl.h : Declaration of the CAtextCtrl OLE control class.

/////////////////////////////////////////////////////////////////////////////
// CAtextCtrl : See AtextCtl.cpp for implementation.

class CAtextCtrl : public COleControl
{
	DECLARE_DYNCREATE(CAtextCtrl)

// Constructor
public:
	CAtextCtrl();
	CAsynchText		m_AsynchText ;

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

// Implementation
protected:
	~CAtextCtrl();

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

// Message maps
	//{{AFX_MSG(CAtextCtrl)
		// 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(CAtextCtrl)
	afx_msg OLE_DATAPATH GetDownloadPath();
	afx_msg void SetDownloadPath(LPCTSTR lpszNewValue);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

	afx_msg void AboutBox();

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

// Dispatch and event IDs
public:
	enum {
	//{{AFX_DISP_ID(CAtextCtrl)
	dispidDownloadPath = 1L,
	//}}AFX_DISP_ID
	};
};
