home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.funduc.com
/
2014.08.ftp.funduc.com.tar
/
ftp.funduc.com
/
fshedcode102502.zip
/
HexDumpDlg.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2001-11-06
|
1KB
|
60 lines
// HexDumpDlg.cpp : implementation file
//
#include "stdafx.h"
#include "fshed.h"
#include "HexDumpDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CHexDumpDlg dialog
CHexDumpDlg::CHexDumpDlg(CWnd* pParent /*=NULL*/)
: CDialog(CHexDumpDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CHexDumpDlg)
m_nExportTo = 1;
m_strEndOffset = _T("");
m_strStartOffset = _T("");
//}}AFX_DATA_INIT
m_nStartOffset = m_nEndOffset = 0;
}
void CHexDumpDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CHexDumpDlg)
DDX_Radio(pDX, IDC_EXP2FILE_RB, m_nExportTo);
DDX_Text(pDX, IDC_END_OFFSET_ED, m_strEndOffset);
DDX_Text(pDX, IDC_START_OFFSET_ED, m_strStartOffset);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CHexDumpDlg, CDialog)
//{{AFX_MSG_MAP(CHexDumpDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CHexDumpDlg message handlers
BOOL CHexDumpDlg::OnInitDialog()
{
m_strStartOffset.Format(_T("x%x"), m_nStartOffset);
m_strEndOffset.Format(_T("x%x"), m_nEndOffset);
CDialog::OnInitDialog();
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}