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.

77 lines
2.0 KiB

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