Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.8 KiB

  1. // IncomingGeneralPg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #define __FILE_ID__ 41
  5. #ifdef _DEBUG
  6. #define new DEBUG_NEW
  7. #undef THIS_FILE
  8. static char THIS_FILE[] = __FILE__;
  9. #endif
  10. //
  11. // this array maps CViewRow items to
  12. // dialog control IDs
  13. //
  14. static TMsgPageInfo s_PageInfo[] =
  15. {
  16. MSG_VIEW_ITEM_NUM_PAGES, IDC_PAGES_VALUE,
  17. MSG_VIEW_ITEM_TRANSMISSION_START_TIME, IDC_START_TIME_VALUE,
  18. MSG_VIEW_ITEM_SIZE, IDC_SIZE_VALUE,
  19. MSG_VIEW_ITEM_STATUS, IDC_STATUS_VALUE,
  20. MSG_VIEW_ITEM_EXTENDED_STATUS, IDC_EXTENDED_STATUS_VALUE,
  21. MSG_VIEW_ITEM_CURRENT_PAGE, IDC_CURRENT_PAGE_VALUE
  22. };
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CIncomingGeneralPg property page
  25. IMPLEMENT_DYNCREATE(CIncomingGeneralPg, CMsgPropertyPg)
  26. CIncomingGeneralPg::CIncomingGeneralPg(
  27. CFaxMsg* pMsg // pointer to CJob
  28. ) :
  29. CMsgPropertyPg(CIncomingGeneralPg::IDD, pMsg)
  30. {
  31. }
  32. CIncomingGeneralPg::~CIncomingGeneralPg()
  33. {
  34. }
  35. void CIncomingGeneralPg::DoDataExchange(CDataExchange* pDX)
  36. {
  37. CMsgPropertyPg::DoDataExchange(pDX);
  38. //{{AFX_DATA_MAP(CIncomingGeneralPg)
  39. // NOTE: the ClassWizard will add DDX and DDV calls here
  40. //}}AFX_DATA_MAP
  41. }
  42. BEGIN_MESSAGE_MAP(CIncomingGeneralPg, CMsgPropertyPg)
  43. //{{AFX_MSG_MAP(CIncomingGeneralPg)
  44. //}}AFX_MSG_MAP
  45. END_MESSAGE_MAP()
  46. /////////////////////////////////////////////////////////////////////////////
  47. // CIncomingGeneralPg message handlers
  48. BOOL
  49. CIncomingGeneralPg::OnInitDialog()
  50. {
  51. DBG_ENTER(TEXT("CIncomingGeneralPg::OnInitDialog"));
  52. CMsgPropertyPg::OnInitDialog();
  53. Refresh(s_PageInfo, sizeof(s_PageInfo)/sizeof(s_PageInfo[0]));
  54. return TRUE;
  55. }