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.

71 lines
1.7 KiB

  1. // InboxGeneralPg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #define __FILE_ID__ 40
  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_STATUS, IDC_STATUS_VALUE,
  17. MSG_VIEW_ITEM_NUM_PAGES, IDC_PAGES_VALUE,
  18. MSG_VIEW_ITEM_SIZE, IDC_SIZE_VALUE,
  19. MSG_VIEW_ITEM_TRANSMISSION_START_TIME, IDC_START_TIME_VALUE,
  20. MSG_VIEW_ITEM_TRANSMISSION_END_TIME, IDC_END_TIME_VALUE,
  21. MSG_VIEW_ITEM_TRANSMISSION_DURATION, IDC_DURATION_VALUE
  22. };
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CInboxGeneralPg property page
  25. IMPLEMENT_DYNCREATE(CInboxGeneralPg, CMsgPropertyPg)
  26. CInboxGeneralPg::CInboxGeneralPg(
  27. CFaxMsg* pMsg // pointer to CArchiveMsg
  28. ):
  29. CMsgPropertyPg(CInboxGeneralPg::IDD, pMsg)
  30. {
  31. }
  32. CInboxGeneralPg::~CInboxGeneralPg()
  33. {
  34. }
  35. void CInboxGeneralPg::DoDataExchange(CDataExchange* pDX)
  36. {
  37. CMsgPropertyPg::DoDataExchange(pDX);
  38. //{{AFX_DATA_MAP(CInboxGeneralPg)
  39. // NOTE: the ClassWizard will add DDX and DDV calls here
  40. //}}AFX_DATA_MAP
  41. }
  42. BEGIN_MESSAGE_MAP(CInboxGeneralPg, CMsgPropertyPg)
  43. //{{AFX_MSG_MAP(CInboxGeneralPg)
  44. //}}AFX_MSG_MAP
  45. END_MESSAGE_MAP()
  46. /////////////////////////////////////////////////////////////////////////////
  47. // CInboxGeneralPg message handlers
  48. BOOL
  49. CInboxGeneralPg::OnInitDialog()
  50. {
  51. DBG_ENTER(TEXT("CInboxGeneralPg::OnInitDialog"));
  52. CMsgPropertyPg::OnInitDialog();
  53. Refresh(s_PageInfo, sizeof(s_PageInfo)/sizeof(s_PageInfo[0]));
  54. return TRUE;
  55. }