
/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/PER6VIEW.H__   1.2.1.4   17 Apr 1997 15:57:48   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/PER6VIEW.H__  $
** 
**    Rev 1.2.1.4   17 Apr 1997 15:57:48   ZJRD
** No change.
** 
**    Rev 1.2.1.3   16 Apr 1997 10:29:24   ZJRD
** No change.
** 
**    Rev 1.2.1.2   10 Apr 1997 15:39:44   ZJRD
** No change.
** 
**    Rev 1.2.1.1   03 Apr 1997 15:18:50   ZJRD
** No change.
** 
**    Rev 1.2.1.0   28 Mar 1997 10:23:38   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.1   19 Mar 1997 11:33:44   ZJRD
** Easy Pack SLD 2.09c
** 
**    Rev 1.0   12 Mar 1997 14:48:48   ZJRD
** Initial revision.
** 
**    Rev 1.7.1.0.1.2   09 Dec 1996 10:15:38   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.7.1.0.1.0   11 Nov 1996 12:58:54   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.7.1.4   09 Sep 1996 13:16:58   ZJRD
** No change.
** 
**    Rev 1.7.1.3   05 Sep 1996 11:28:30   ZJRD
** No change.
** 
**    Rev 1.7.1.2   02 Sep 1996 09:55:34   ZJRD
** No change.
** 
**    Rev 1.7.1.1   28 Aug 1996 15:49:20   ZJRD
** No change.
** 
**    Rev 1.7.1.0   12 Aug 1996 10:53:38   ZJRD
** EasyPack/SLD Version 1.98
** 
**    Rev 1.5   05 Jun 1996 14:56:46   ZJRD
** EasyPack/SLD Version 1.96
** 
**    Rev 1.3   16 May 1996 09:07:28   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:10:28   ZJRD
** No change.
** 
**    Rev 1.1   02 May 1996 10:27:04   ZJRD
** EasyPack/SLD Version 1.92
** 
**    Rev 1.29   18 Apr 1996 12:54:00   Shirley
** No change.
** 
**    Rev 1.28   12 Apr 1996 10:38:54   Shirley
** EasyPack/SLD Version 1.90
** 
**    Rev 1.26   15 Feb 1996 08:51:48   Shirley
** No change.
** 
**    Rev 1.25   12 Feb 1996 14:06:18   Shirley
** No change.
** 
**    Rev 1.24   06 Feb 1996 15:32:48   Shirley
** No change.
** 
**    Rev 1.23   06 Feb 1996 13:47:02   Shirley
** No change.
** 
**    Rev 1.22   01 Feb 1996 10:13:38   Shirley
** No change.
** 
**    Rev 1.21   26 Jan 1996 09:17:50   Shirley
** No change.
** 
**    Rev 1.20   25 Jan 1996 13:17:46   Shirley
** No change.
** 
**    Rev 1.19   24 Jan 1996 10:37:12   Shirley
** No change.
** 
**    Rev 1.18   23 Jan 1996 11:22:40   Shirley
** EasypPack/SLD Version 0.34c
** 
**    Rev 1.16   15 Jan 1996 16:10:30   Shirley
** No change.
** 
**    Rev 1.15   04 Jan 1996 11:09:46   Shirley
** No change.
** 
**    Rev 1.14   30 Nov 1995 09:13:10   Shirley
** No change.
** 
**    Rev 1.13   28 Nov 1995 15:35:30   Shirley
** No change.
** 
**    Rev 1.12   21 Nov 1995 11:24:42   Shirley
** No change.
** 
**    Rev 1.11   13 Nov 1995 09:25:36   Shirley
** No change.
** 
**    Rev 1.10   12 Nov 1995 11:28:32   Shirley
** No change.
** 
**    Rev 1.9   08 Nov 1995 16:29:18   Shirley
** No change.
** 
**    Rev 1.8   08 Nov 1995 12:39:50   Shirley
** No change.
** 
**    Rev 1.7   02 Nov 1995 10:08:14   Shirley
** No change.
** 
**    Rev 1.6   27 Oct 1995 16:45:40   Shirley
** No change.
** 
**    Rev 1.5   27 Oct 1995 13:47:48   Shirley
** No change.
** 
**    Rev 1.4   25 Oct 1995 14:30:36   Shirley
** EasyPack/SLD Version 0.1f
** 
**    Rev 1.2   13 Oct 1995 13:23:00   Shirley
** EasyPack/SLD Version 0.1d
** 
**    Rev 1.1   29 Sep 1995 09:50:46   Shirley
** No change.
** 
**    Rev 1.0   20 Sep 1995 10:54:20   Shirley
** Initial revision.
** 
**    
** 
** 
**
**
**
****************************************************************************/

/////////////////////////////////////////////////////////////////////////////
//
//  File name:  PER6VIEW.H
//
//  Description:The header file of the Per6View class for Peripheral window
//
//  Author:     Jerry Yan
//
//  Date:       09/18/95
//
//  Modification:
//
//      1. 09/18/95, Initial version 
//
//
//  Copyright (C) 1995 Microtek International. All rights reserved.
//
/////////////////////////////////////////////////////////////////////////////

// per6view.h : interface of the CPer6View class
//
/////////////////////////////////////////////////////////////////////////////

#ifndef _PER6VIEW_H_
#define _PER6VIEW_H_

#include "mylist.h"

class CPer6View : public CView
{
protected: // create from serialization only
    CPer6View();
    DECLARE_DYNCREATE(CPer6View)

// Attributes
public:
    CPer6Doc* GetDocument();
    BOOL m_Expanded;  
    //by chris, for delete.
    CMyList* m_pList;
    
// Operations
public:

// Implementation
public:
    virtual ~CPer6View();
    virtual void OnDraw(CDC* pDC);  // overridden to draw this view
#ifdef _DEBUG
    virtual void AssertValid() const;
    virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
    //{{AFX_MSG(CPer6View)
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);  
    afx_msg void OnSize(UINT nType, int cx, int cy);
    afx_msg void OnDblclkList1();
    afx_msg void OnFresh();
    afx_msg void OnUpdateViewCompress(CCmdUI* pCmdUI);
    afx_msg void OnViewCompress();
    afx_msg void OnViewExpand();
    afx_msg void OnUpdateViewExpand(CCmdUI* pCmdUI);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnDestroy();
	//}}AFX_MSG
    DECLARE_MESSAGE_MAP()
    //afx_msg void OnFileExit();
};

#ifndef _DEBUG  // debug version in per6view.cpp
inline CPer6Doc* CPer6View::GetDocument()
   { return (CPer6Doc*)m_pDocument; }
#endif

#endif
/////////////////////////////////////////////////////////////////////////////
