// ------------------------------------------------------------------------------------------------------------------------
//	Zip Studio 3.0 - Developer Edition
//	DllDemo sample for Microsoft Visual C++ 4.0
//
//	Copyright Hexanet 1993-1996, All rights reserved
// ------------------------------------------------------------------------------------------------------------------------
//	Note:
//	This sample uses the DLL version of the API (ZSAPI32.DLL).
//	This DLL must be on the path of this appication.
// ------------------------------------------------------------------------------------------------------------------------

class CDllDemoView : public CFormView
{
protected: // create from serialization only
	CDllDemoView();
	DECLARE_DYNCREATE(CDllDemoView)

public:
	//{{AFX_DATA(CDllDemoView)
	enum{ IDD = IDD_DLLDEMO_FORM };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	CDllDemoDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDllDemoView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CDllDemoView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CDllDemoView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDestroy();
	afx_msg void OnGetdispinfoMylist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnColumnclickMylist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkMylist(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in DllDView.cpp
inline CDllDemoDoc* CDllDemoView::GetDocument()
   { return (CDllDemoDoc*)m_pDocument; }
#endif

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