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

/////////////////////////////////////////////////////////////////////////////
//
//  File name:  SRCDLG1.H
//
//  Description:The header file for the class:
//              CSourceSearch
//              CBrowseAddrDialog
//              CJumpDialog
//              CStepOptionDialog
//              CLoadInfoDialog
//              CLoadProgDialog
//
//  Author:     Roger Zhang
//
//  Date:       05/18/95
//
//  Modification:
//
//      1. 05/18/95, Initial version 
//
//
//  Copyright (C) 1995 Microtek International. All rights reserved.
//
/////////////////////////////////////////////////////////////////////////////

#ifndef _SRCDLG1_
#define _SRCDLG1_

/////////////////////////////////////////////////////////////////////////////
// CSourceSearch dialog
/////////////////////////////////////////////////////////////////////////////

class CSourceSearch : public CDialog
{
// Construction
public:
    CSourceSearch(CWnd* pParent, BOOL bBrowse);    // standard constructor

// Dialog Data
    //{{AFX_DATA(CSourceSearch)
    enum { IDD = IDD_SRCHSRC };
    CComboBox   m_cmbSrch;
    BOOL    m_isCase;
    BOOL    m_isMatch;                
    BOOL    m_bBrowse;
    int     m_nUp;
    CString m_strCombo;
    //}}AFX_DATA
    BOOL    m_isSearchNext;

// Implementation
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    virtual void PostNcDestroy(void);
    
    // Generated message map functions
    //{{AFX_MSG(CSourceSearch)
    virtual void OnCancel();
    virtual void OnOK();
    afx_msg void OnSrchsrcSearch();
    virtual BOOL OnInitDialog();
    afx_msg void OnEditchangeSrchsrcCombo();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
// CBrowseAddrDialog dialog
/////////////////////////////////////////////////////////////////////////////

class CBrowseAddrDialog : public CDialog
{
// Construction
public:
    CBrowseAddrDialog(BOOL isAddr, CWnd* pParent = NULL);   

// Dialog Data                     
    //{{AFX_DATA(CBrowseAddrDialog)
    enum { IDD = IDD_BROWSE_ADDR };
    CComboBox   m_cmbAddr;
    CString     m_strCmb;
    CString     m_strText;
    //}}AFX_DATA
    BOOL        m_isAddr;

// Implementation
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    // Generated message map functions
    //{{AFX_MSG(CBrowseAddrDialog)
    virtual BOOL OnInitDialog();
    afx_msg void OnEditchangeBrsaddrCombo();
    virtual void OnOK();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
// CJumpDialog dialog
/////////////////////////////////////////////////////////////////////////////

class CJumpDialog : public CDialog
{
// Construction
public:
    CJumpDialog(CWnd* pParent = NULL);  // standard constructor

// Dialog Data
    //{{AFX_DATA(CJumpDialog)
    enum { IDD = IDD_JUMP };
    CComboBox   m_cmbAddr;
    BOOL    m_isInitPC;
    CString m_strCmb;
    //}}AFX_DATA

// Implementation
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    // Generated message map functions
    //{{AFX_MSG(CJumpDialog)
    virtual BOOL OnInitDialog();
    afx_msg void OnJumpCheck();
    virtual void OnOK();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
// CStepOptionDialog dialog
/////////////////////////////////////////////////////////////////////////////

class CStepOptionDialog : public CDialog
{
// Construction
public:
    CStepOptionDialog(CWnd* pParent = NULL);    // standard constructor

// Dialog Data
    //{{AFX_DATA(CStepOptionDialog)
    enum { IDD = IDD_STEPOPT };
    CComboBox   m_cmbCnt;
    CString m_strCmb;
    int     m_nOpt;
    //}}AFX_DATA

// Implementation
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    // Generated message map functions
    //{{AFX_MSG(CStepOptionDialog)
    virtual BOOL OnInitDialog();
    afx_msg void OnEditchangeStepoptCombo();
    virtual void OnOK();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
// CLoadInfoDialog dialog
/////////////////////////////////////////////////////////////////////////////

class CLoadInfoDialog : public CDialog
{
// Construction
public:
    CLoadInfoDialog(CWnd* pParent = NULL);  // standard constructor

// Dialog Data
    //{{AFX_DATA(CLoadInfoDialog)
	enum { IDD = IDD_LOADINFO };
    CString m_strBase;
    CString m_strByte;
    CString m_strFile;
    CString m_strFunc;
    CString m_strLine;
    CString m_strMdl;
    CString m_strPC;
    CString m_strSize;
    CString m_strSym;
    CString m_strType;
	CString	m_strBank;
	//}}AFX_DATA

// Implementation
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    // Generated message map functions
    //{{AFX_MSG(CLoadInfoDialog)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
// CLoadProgDialog dialog
/////////////////////////////////////////////////////////////////////////////

class CLoadProgDialog : public CDialog
{
// Construction
public:
    CLoadProgDialog(CWnd* pParent = NULL);  
    ~CLoadProgDialog();  
    
// Dialog Data
    //{{AFX_DATA(CLoadProgDialog)
    enum { IDD = IDD_LOADPROG };
	CStatic	m_staticBar;
    CString m_strBase;
    CString m_strByte;
    CString m_strCurMdl;
    CString m_strFile;
    CString m_strFunc;
    CString m_strLine;
    CString m_strMdl;
    CString m_strPC;
    CString m_strSize;
    CString m_strSym;
    CString m_strType;
    //}}AFX_DATA       
                     
    UINT    m_uTimer;
    BOOL	m_isTimer;

    int     m_nRatio;
    int     m_nOldRatio;
    BOOL    m_isLoading;
    
    int     m_nRval;
    
    CMeterControl m_meter;
    HINSTANCE hLib;
    
    CBrush	m_br;
    
    
// Implementation
public:
    
protected:
    void SetFill(int nRatio);
    void SetInfo(void);

    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    // Generated message map functions
    //{{AFX_MSG(CLoadProgDialog)
    virtual BOOL OnInitDialog();
    afx_msg void OnTimer(UINT nIDEvent);
    virtual void OnOK();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnDestroy();
	afx_msg void OnPaint();
	//}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

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

