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.

78 lines
1.9 KiB

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