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.

90 lines
2.7 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : ppFaxInboundRoutingMethodGeneral.h //
  3. // //
  4. // DESCRIPTION : Fax Server Inbox prop page header file //
  5. // //
  6. // AUTHOR : yossg //
  7. // //
  8. // HISTORY : //
  9. // Dec 15 1999 yossg Created //
  10. // //
  11. // Copyright (C) 1999 Microsoft Corporation All Rights Reserved //
  12. /////////////////////////////////////////////////////////////////////////////
  13. #include "stdafx.h"
  14. #include <proppageex.h>
  15. #ifndef _PP_FAXINBOUNDROUTINGMETHOD_GENERAL_H_
  16. #define _PP_FAXINBOUNDROUTINGMETHOD_GENERAL_H_
  17. #include "InboundRoutingMethod.h"
  18. class CFaxInboundRoutingMethodNode;
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CppFaxInboundRoutingMethod dialog
  21. class CppFaxInboundRoutingMethod : public CPropertyPageExImpl<CppFaxInboundRoutingMethod>
  22. {
  23. public:
  24. //
  25. // Constructor
  26. //
  27. CppFaxInboundRoutingMethod(
  28. LONG_PTR hNotificationHandle,
  29. CSnapInItem *pNode,
  30. BOOL bOwnsNotificationHandle,
  31. HINSTANCE hInst);
  32. //
  33. // Destructor
  34. //
  35. ~CppFaxInboundRoutingMethod();
  36. enum { IDD = IDD_FAXINMETHOD_GENERAL };
  37. BEGIN_MSG_MAP(CppFaxInboundRoutingMethod)
  38. MESSAGE_HANDLER( WM_INITDIALOG, OnInitDialog )
  39. MESSAGE_HANDLER( WM_CONTEXTMENU, OnHelpRequest)
  40. MESSAGE_HANDLER( WM_HELP, OnHelpRequest)
  41. CHAIN_MSG_MAP(CSnapInPropertyPageImpl<CppFaxInboundRoutingMethod>)
  42. END_MSG_MAP()
  43. LRESULT OnInitDialog( UINT uiMsg, WPARAM wParam, LPARAM lParam, BOOL& fHandled );
  44. BOOL OnApply();
  45. HRESULT SetProps(int *pCtrlFocus);
  46. HRESULT PreApply(int *pCtrlFocus);
  47. private:
  48. CComBSTR m_buf;
  49. //
  50. // Handles
  51. //
  52. CFaxInboundRoutingMethodNode * m_pParentNode;
  53. LONG_PTR m_lpNotifyHandle;
  54. LRESULT SetApplyButton(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  55. //
  56. // Help
  57. //
  58. LRESULT OnHelpRequest (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  59. };
  60. #endif // _PP_FAXINBOUNDROUTINGMETHOD_GENERAL_H_