/***************************************************************************
**
**    $Header:   D:/EPSLDV1/SRC/LOG/SPABROW.H__   1.6   20 Jun 1996 09:26:58   ZJRD  $
**
**    $Log:   D:/EPSLDV1/SRC/LOG/SPABROW.H__  $
** 
**    Rev 1.6   20 Jun 1996 09:26:58   ZJRD
** EasyPack/SLD Version 1.20a
** 
**    Rev 1.4   10 Jun 1996 10:21:36   ZJRD
** EasyPack/SLD Version 1.20
** 
**    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
