// testrslt.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTestResultDialog dialog

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

// Dialog Data
	//{{AFX_DATA(CTestResultDialog)
	enum { IDD = IDD_TEST_RESULT };
	CColourComboBox	m_ctlColourComboBox;
	CColourButton	m_ctlTriggerSwatch2;
	CStatic	m_ctlColourLabel;
	CButton	m_ctlOmitFromOutput;
	CButton	m_ctlOmitFromLogFile;
	CColourButton	m_ctlTriggerSwatch;
	CString	m_test_result;
	BOOL	m_bOmitFromLogFile;
	BOOL	m_bOmitFromOutput;
	int		m_nColour;
	//}}AFX_DATA

  // custom (user-defined) colours for triggers etc.
  COLORREF m_customtext [MAX_CUSTOM];
  COLORREF m_customback [MAX_CUSTOM];
  CString m_strCustomName [MAX_CUSTOM];

  void FixSwatch (CColourButton & m_ctlSwatch, 
                  CColourButton & m_ctlSwatch2,
                  int iNewColour);


  BOOL m_bAlias;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestResultDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTestResultDialog)
	afx_msg void OnHelpbutton();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
