EstimateDoneDlg.cpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /******************************************************************************
  2. |* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  3. |* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  4. |* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  5. |* PARTICULAR PURPOSE.
  6. |*
  7. |* Copyright 1995-2005 Nero AG. All Rights Reserved.
  8. |*-----------------------------------------------------------------------------
  9. |* NeroSDK / NVAPIExample
  10. |*
  11. |* PROGRAM: EstimateDoneDlg.cpp
  12. |*
  13. |* PURPOSE: A dialog box that holds controls showing data after
  14. |* transcoding disk and time estimation.
  15. ******************************************************************************/
  16. #include "stdafx.h"
  17. #include "NVAPIExample.h"
  18. #include "EstimateDoneDlg.h"
  19. #ifdef _DEBUG
  20. #define new DEBUG_NEW
  21. #undef THIS_FILE
  22. static char THIS_FILE[] = __FILE__;
  23. #endif
  24. CEstimateDoneDlg::CEstimateDoneDlg(CWnd* pParent /*=NULL*/)
  25. : CDialog(CEstimateDoneDlg::IDD, pParent)
  26. {
  27. //{{AFX_DATA_INIT(CEstimateDoneDlg)
  28. m_sEstimatedSize = _T("");
  29. m_sEstimatedTime = _T("");
  30. //}}AFX_DATA_INIT
  31. }
  32. void CEstimateDoneDlg::DoDataExchange(CDataExchange* pDX)
  33. {
  34. CDialog::DoDataExchange(pDX);
  35. //{{AFX_DATA_MAP(CEstimateDoneDlg)
  36. DDX_Control(pDX, IDC_ESTIMATED_SIZE, c_EstimatedSize);
  37. DDX_Control(pDX, IDC_ESTIMATED_TIME, c_EstimatedTime);
  38. DDX_Text(pDX, IDC_ESTIMATED_SIZE, m_sEstimatedSize);
  39. DDX_Text(pDX, IDC_ESTIMATED_TIME, m_sEstimatedTime);
  40. //}}AFX_DATA_MAP
  41. }
  42. BEGIN_MESSAGE_MAP(CEstimateDoneDlg, CDialog)
  43. //{{AFX_MSG_MAP(CEstimateDoneDlg)
  44. // NOTE: the ClassWizard will add message map macros here
  45. //}}AFX_MSG_MAP
  46. END_MESSAGE_MAP()