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

/////////////////////////////////////////////////////////////////////////////
//
//  File name:  XVIEW.H
//
//  Description:The header file for the class: CXviewApp
//
//  Author:     Roger Zhang
//
//  Date:       03/04/95
//
//  Modification:
//
//      1. 03/04/95, Initial version 
//
//
//  Copyright (C) 1995 Microtek International. All rights reserved.
//
/////////////////////////////////////////////////////////////////////////////

#ifndef _XVIEW_
#define _XVIEW_                      

//john 96.3
#include "abibase.h"
#include "uisrlx.h"

/////////////////////////////////////////////////////////////////////////////
// CXviewApp

class CXviewApp : public CWinApp
{
public:
    CXviewApp();
    ~CXviewApp();                                
    
    void OpenFileNew(); // lane

// Overrides
    virtual BOOL InitInstance();
    virtual BOOL InitApplication();
    virtual int  ExitInstance();
    virtual BOOL OnIdle(LONG lCount);
    virtual BOOL PreTranslateMessage(MSG* pMsg);
    
//john 96.3                   
//members
public :
	UINT m_nTimerID; //
	BOOL m_bCanTimer;//
	BOOL m_bWaiting; //     
	int  m_nCpuStatus;// 
	int  m_nCpuStatusBak;//
	ADDR m_GoArg;//
	CBaseSerialPICAgree  *m_pTheCom;
	
	BOOL m_bTraceOn;
        
// Implementation
    BOOL    m_isInit;   // used for label display
    BOOL    m_is3D;

    //{{AFX_MSG(CXviewApp)
    afx_msg BOOL OnOpenRecentFile(UINT nID);
    afx_msg void OnAppAbout();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
// VB-Event extern declarations

//{{AFX_VBX_REGISTER()
    extern UINT NEAR VBN_TABPAGEACTIVATE;
    extern UINT NEAR VBN_TABPAGESHOWN;
    extern UINT NEAR VBN_CLICK;
    extern UINT NEAR VBN_SELCHANGE;
    extern UINT NEAR VBN_BLOCKSELECTED;
    extern UINT NEAR VBN_LEAVECELL;
    extern UINT NEAR VBN_CHANGE;
    extern UINT NEAR VBN_MOUSEUP;
    extern UINT NEAR VBN_KEYUP;
    extern UINT NEAR VBN_KEYDOWN;
    extern UINT NEAR VBN_TABACTIVATE;
    extern UINT NEAR VBN_ADDNEWDATA;
    extern UINT NEAR VBN_MOUSEDOWN;
    extern UINT NEAR VBN_EDITMODE;
    extern UINT NEAR VBN_DBLCLICK;
    extern UINT NEAR VBN_BUTTONCLICKED;
    extern UINT NEAR VBN_GOTFOCUS;
    extern UINT NEAR VBN_LOSTFOCUS;
	extern UINT NEAR VBN_SETCAPTION;
//}}AFX_VBX_REGISTER

#endif
////////////////////////////(EOF)////////////////////////////////////////////
