/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/SPABROW.H__   1.2.1.4   17 Apr 1997 15:59:36   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/SPABROW.H__  $
** 
**    Rev 1.2.1.4   17 Apr 1997 15:59:36   ZJRD
** No change.
** 
**    Rev 1.2.1.3   16 Apr 1997 10:32:02   ZJRD
** No change.
** 
**    Rev 1.2.1.2   10 Apr 1997 15:41:46   ZJRD
** No change.
** 
**    Rev 1.2.1.1   03 Apr 1997 15:20:38   ZJRD
** No change.
** 
**    Rev 1.2.1.0   28 Mar 1997 10:24:58   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.1   19 Mar 1997 11:34:56   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 14:49:34   ZJRD
** Initial revision.
** 
**    Rev 1.5.1.0.1.0   11 Nov 1996 13:01:14   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.5.1.4   09 Sep 1996 13:23:02   ZJRD
** No change.
** 
**    Rev 1.5.1.3   05 Sep 1996 11:34:30   ZJRD
** No change.
** 
**    Rev 1.5.1.2   02 Sep 1996 10:01:34   ZJRD
** No change.
** 
**    Rev 1.5.1.1   28 Aug 1996 15:45:16   ZJRD
** No change.
** 
**    Rev 1.5.1.0   12 Aug 1996 10:50:22   ZJRD
** No change.
** 
**    Rev 1.5   11 Jun 1996 10:25:28   ZJRD
** EasyPack/SLD Version 1.97
** 
**    Rev 1.3   05 Jun 1996 14:53:14   ZJRD
** No change.
** 
**    Rev 1.2   29 May 1996 09:31:52   ZJRD
** EasyPack/SLD Version 1.95
** 
****************************************************************************/

/////////////////////////////////////////////////////////////////////////////
//
//  File name: SPABROW.H
//
//  Description: The header file for the class: CSpaBrowseDlg.
//
//  Author: Chen Jun
//
//  Date: 05/08/96
//
//  Modification:
//      1. 05/08/96, Initial version of the class: CSpaBrowseDlg.
//
//  Copyright (C) 1996 Microtek International. All rights reserved.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _SPABROW_H_
#define _SPABROW_H_

/////////////////////////////////////////////////////////////////////////////
// CSpaBrowseDlg dialog

class CSpaBrowseDlg : public CDialog
{
// Construction
public:
	CSpaBrowseDlg(CSpaGroupSheet* pSheet, const CString& strName, CWnd* pParent = NULL);

// Dialog Data
	//{{AFX_DATA(CSpaBrowseDlg)
	enum { IDD = IDD_SPA_BROWSE };
	CListBox	m_listFunction;
	CListBox	m_listModule;
	int		m_nModule;
	int		m_nFunction;
	CString	m_strRange;
	//}}AFX_DATA

public:
	CString m_strStart;
	CString m_strEnd;

private:
	CSpaGroupSheet* m_pSheet;

// Overrides
public:

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

// Implementation
private:
	void UpdateModuleInfo(void);
	void UpdateFunctionInfo(void);
	void CheckInputSyntax(void);

protected:
	// Generated message map functions
	//{{AFX_MSG(CSpaBrowseDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnSelchangeListSpaBrowseModule();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif
