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.1 KiB

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