|
// SaveDffd.cpp : implementation file
//
// 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.
//
#include "stdafx.h"
#include "hexedit.h"
#include "SaveDffd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSaveDffd dialog
CSaveDffd::CSaveDffd(CWnd* pParent /*=NULL*/)
: CDialog(CSaveDffd::IDD, pParent)
{
//{{AFX_DATA_INIT(CSaveDffd)
message_ = _T("");
//}}AFX_DATA_INIT
}
void CSaveDffd::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSaveDffd)
DDX_Text(pDX, IDC_MESSAGE, message_);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSaveDffd, CDialog)
//{{AFX_MSG_MAP(CSaveDffd)
ON_BN_CLICKED(IDC_SAVEAS, OnSaveAs)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSaveDffd message handlers
void CSaveDffd::OnSaveAs()
{
CDialog::EndDialog(IDYES);
}
|
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.