|
//
// Copyright (c) 2011 by Andrew W. Phillips.
//
// This file is distributed under the MIT license, which basically says
// you can do what you want with it but I take no responsibility for bugs.
// See http://www.opensource.org/licenses/mit-license.php for full details.
//
#if !defined(AFX_ALGORITHM_H__BB3DB185_9861_4A0C_A2CC_0E93997C9A7B__INCLUDED_)
#define AFX_ALGORITHM_H__BB3DB185_9861_4A0C_A2CC_0E93997C9A7B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Algorithm.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CAlgorithm dialog
class CAlgorithm : public CDialog
{
// Construction
public:
CAlgorithm(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAlgorithm)
enum { IDD = IDD_ALGORITHM };
CComboBox m_control;
CString m_note;
CString m_blocklen;
CString m_keylen;
int m_alg;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAlgorithm)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CAlgorithm)
afx_msg void OnSelchangeAlg();
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
afx_msg void OnAlgorithmHelp();
//}}AFX_MSG
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ALGORITHM_H__BB3DB185_9861_4A0C_A2CC_0E93997C9A7B__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.
Andrew has a BSc (1983) from Sydney University in Computer Science and Mathematics. Andrew began programming professionally in C in 1984 and has since used many languages but mainly C, C++, and C#.
Andrew has a particular interest in STL, .Net, and Agile Development. He has written articles on STL for technical journals such as the C/C++ User's Journal.
In 1997 Andrew began using MFC and released the source code for a Windows binary file editor called HexEdit, which was downloaded more than 1 million times. From 2001 there was a shareware version of HexEdit (later called HexEdit Pro). HexEdit has been updated to uses the new MFC (based on BCG) and is once more open source.