// ------------------------------------------------------------------------------------------------------------------------
//	Zip Studio 3.0 - Developer Edition
//	VC4Demo sample for Microsoft Visual C++ 4.0
//
//	Copyright Hexanet 1993-1996, All rights reserved
// ------------------------------------------------------------------------------------------------------------------------
//	Note:
//	To run VC4Demo.EXE you need ZS30W32.OCX and the Microsoft
//	DLLs: MSVCRT40.DLL, MFC40.DLL and OLEPRO32.DLL. (The
//	DLLs must be on the same directory or in WINDOWS/SYSTEM)
// ------------------------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "zsocx.h"
//}}AFX_INCLUDES

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

public:
	//{{AFX_DATA(CZView)
	enum { IDD = IDD_VC4DEMO_FORM };
	CZSOcx	m_zsctrl;
	//}}AFX_DATA

// Attributes
public:
	CZDoc* GetDocument();

// Operations
public:

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

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CZView)
	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 void OnZNExpandingZsctrl1(LPCTSTR szName, short iRateDone);
	afx_msg void OnZNZipping2Zsctrl1(LPCTSTR szCurrentFile, short iRateDone);
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ZView.cpp
inline CZDoc* CZView::GetDocument()
   { return (CZDoc*)m_pDocument; }
#endif

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