home *** CD-ROM | disk | FTP | other *** search
/ ftp.funduc.com / 2014.08.ftp.funduc.com.tar / ftp.funduc.com / fshedcode-072212.zip / AppendDialog.cpp < prev    next >
C/C++ Source or Header  |  2010-09-13  |  2KB  |  59 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //    License (GPLv2+):
  3. //    This program is free software; you can redistribute it and/or modify
  4. //    it under the terms of the GNU General Public License as published by
  5. //    the Free Software Foundation; either version 2 of the License, or
  6. //    (at your option) any later version.
  7. //
  8. //    This program is distributed in the hope that it will be useful, but
  9. //    WITHOUT ANY WARRANTY; without even the implied warranty of
  10. //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  11. //    General Public License for more details.
  12. //
  13. //    You should have received a copy of the GNU General Public License
  14. //    along with this program; if not, write to the Free Software
  15. //    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. /////////////////////////////////////////////////////////////////////////////
  17.  
  18. #include "stdafx.h"
  19. #include "fshed.h"
  20. #include "AppendDialog.h"
  21.  
  22. #ifdef _DEBUG
  23. #define new DEBUG_NEW
  24. #undef THIS_FILE
  25. static char THIS_FILE[] = __FILE__;
  26. #endif
  27.  
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CAppendDialog dialog
  30.  
  31.  
  32. CAppendDialog::CAppendDialog(CWnd* pParent /*=NULL*/)
  33.     : CDialog(CAppendDialog::IDD, pParent)
  34. {
  35.     //{{AFX_DATA_INIT(CAppendDialog)
  36.     m_nNumBytes = 1;
  37.     //}}AFX_DATA_INIT
  38. }
  39.  
  40.  
  41. void CAppendDialog::DoDataExchange(CDataExchange* pDX)
  42. {
  43.     CDialog::DoDataExchange(pDX);
  44.     //{{AFX_DATA_MAP(CAppendDialog)
  45.     DDX_Text(pDX, IDC_NUM_BYTES_ED, m_nNumBytes);
  46.     DDV_MinMaxInt(pDX, m_nNumBytes, 1, 1000000);
  47.     //}}AFX_DATA_MAP
  48. }
  49.  
  50.  
  51. BEGIN_MESSAGE_MAP(CAppendDialog, CDialog)
  52.     //{{AFX_MSG_MAP(CAppendDialog)
  53.         // NOTE: the ClassWizard will add message map macros here
  54.     //}}AFX_MSG_MAP
  55. END_MESSAGE_MAP()
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58. // CAppendDialog message handlers
  59.