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.

76 lines
2.0 KiB

  1. // IncomingDetailsPg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #define __FILE_ID__ 51
  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_CALLER_ID, IDC_CALLER_ID_VALUE,
  17. MSG_VIEW_ITEM_ROUTING_INFO, IDC_ROUTING_INFO_VALUE,
  18. MSG_VIEW_ITEM_RETRIES, IDC_RETRIES_VALUE,
  19. MSG_VIEW_ITEM_CSID, IDC_CSID_VALUE,
  20. MSG_VIEW_ITEM_TSID, IDC_TSID_VALUE,
  21. MSG_VIEW_ITEM_DEVICE, IDC_DEVICE_VALUE,
  22. MSG_VIEW_ITEM_ID, IDC_JOB_ID_VALUE,
  23. MSG_VIEW_ITEM_TRANSMISSION_END_TIME, IDC_END_TIME_VALUE,
  24. MSG_VIEW_ITEM_SEND_TIME, IDC_TRANSMISSION_TIME_VALUE,
  25. MSG_VIEW_ITEM_SERVER, IDC_SERVER_VALUE
  26. };
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CIncomingDetailsPg property page
  29. IMPLEMENT_DYNCREATE(CIncomingDetailsPg, CMsgPropertyPg)
  30. CIncomingDetailsPg::CIncomingDetailsPg(
  31. CFaxMsg* pMsg // pointer to CJob
  32. ) :
  33. CMsgPropertyPg(CIncomingDetailsPg::IDD, pMsg)
  34. {
  35. }
  36. CIncomingDetailsPg::~CIncomingDetailsPg()
  37. {
  38. }
  39. void CIncomingDetailsPg::DoDataExchange(CDataExchange* pDX)
  40. {
  41. CMsgPropertyPg::DoDataExchange(pDX);
  42. //{{AFX_DATA_MAP(CIncomingDetailsPg)
  43. // NOTE: the ClassWizard will add DDX and DDV calls here
  44. //}}AFX_DATA_MAP
  45. }
  46. BEGIN_MESSAGE_MAP(CIncomingDetailsPg, CMsgPropertyPg)
  47. //{{AFX_MSG_MAP(CIncomingDetailsPg)
  48. //}}AFX_MSG_MAP
  49. END_MESSAGE_MAP()
  50. /////////////////////////////////////////////////////////////////////////////
  51. // CIncomingDetailsPg message handlers
  52. BOOL
  53. CIncomingDetailsPg::OnInitDialog()
  54. {
  55. DBG_ENTER(TEXT("CIncomingDetailsPg::OnInitDialog"));
  56. CMsgPropertyPg::OnInitDialog();
  57. Refresh(s_PageInfo, sizeof(s_PageInfo)/sizeof(s_PageInfo[0]));
  58. return TRUE;
  59. }