|
// MarkupDlg.h : header file
//
// CMarkup Release 6.5 Lite
// Copyright (C) 1999-2003 First Objective Software, Inc. All rights reserved
// This entire notice must be retained in this source code
// Redistributing this source code requires written permission
// This software is provided "as is", with no warranty.
// Latest fixes enhancements and documentation at www.firstobject.com
#if !defined(AFX_MARKUPDLG_H__7E553A30_D0C6_11D6_9F49_00500486CAFC__INCLUDED_)
#define AFX_MARKUPDLG_H__7E553A30_D0C6_11D6_9F49_00500486CAFC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMarkupDlg dialog
class CMarkupDlg : public CDialog
{
// Construction
public:
CMarkupDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMarkupDlg)
enum { IDD = IDD_MARKUP_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMarkupDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void OutputTestResults( CString csMsg );
int Alert( CString csMsg );
void StartCheckZone( CString csCheckZone );
int Check( BOOL bCorrect );
int RunTest();
void OutputParseResults( CString csMsg );
void TimeStart();
int TimeStop();
int RandInt( int nNumber );
CString m_csTestResults;
CString m_csCheckZone;
int m_nCheckCount;
int m_nErrorCount;
SYSTEMTIME m_stBefore;
// Util
static CString AddNumSeps( int nVal )
{
CString csNum;
csNum.Format(_T("%d"),nVal);
for ( int nOffset = csNum.GetLength()-3; nOffset > 0; nOffset -= 3 )
csNum = csNum.Left(nOffset) + "," + csNum.Mid(nOffset);
return csNum;
};
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMarkupDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonBrowse();
afx_msg void OnButtonParse();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MARKUPDLG_H__7E553A30_D0C6_11D6_9F49_00500486CAFC__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Raised in Southern Ontario Canada. Bachelor of Science from the University of Toronto in Computer Science and Anthropology. Living near Washington D.C. in Virginia, USA.