Source code of Windows XP (NT5)
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.

81 lines
1.9 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1997 - 1999
  4. Module Name:
  5. PoliciesPage2.h
  6. Abstract:
  7. Header file for the CPoliciesPage2 class.
  8. This is our handler class for the second CMachineNode property page.
  9. See PoliciesPage2.cpp for implementation.
  10. Revision History:
  11. mmaguire 12/15/97 - created
  12. --*/
  13. //////////////////////////////////////////////////////////////////////////////
  14. #if !defined(_NAP_POLICIES_PAGE_2_H_)
  15. #define _NAP_POLICIES_PAGE_2_H_
  16. //////////////////////////////////////////////////////////////////////////////
  17. // BEGIN INCLUDES
  18. //
  19. // where we can find what this class derives from:
  20. //
  21. #include "PropertyPage.h"
  22. //
  23. //
  24. // where we can find what this class has or uses:
  25. //
  26. //
  27. // END INCLUDES
  28. //////////////////////////////////////////////////////////////////////////////
  29. class CPoliciesPage2 : public CIASPropertyPage<CPoliciesPage2>
  30. {
  31. public :
  32. // ISSUE: how is base class initialization going to work with subclassing???
  33. CPoliciesPage2( LONG_PTR hNotificationHandle, TCHAR* pTitle = NULL, BOOL bOwnsNotificationHandle = FALSE) : CIASPropertyPage<CPoliciesPage2> ( hNotificationHandle, pTitle, bOwnsNotificationHandle )
  34. {
  35. // Add the help button to the page
  36. // m_psp.dwFlags |= PSP_HASHELP;
  37. }
  38. // This is the ID of the dialog resource we want for this class.
  39. // An enum is used here because the correct value of
  40. // IDD must be initialized before the base class's constructor is called
  41. enum { IDD = IDD_PROPPAGE_POLICIES2 };
  42. BEGIN_MSG_MAP(CPoliciesPage2)
  43. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  44. // COMMAND_ID_HANDLER( IDC_BUTTON_CLIENT_PAGE1_FIND, OnResolveClientAddress )
  45. CHAIN_MSG_MAP(CIASPropertyPage<CPoliciesPage2>)
  46. END_MSG_MAP()
  47. LRESULT OnInitDialog(
  48. UINT uMsg
  49. , WPARAM wParam
  50. , LPARAM lParam
  51. , BOOL& bHandled
  52. );
  53. BOOL OnApply();
  54. };
  55. #endif // _NAP_POLICIES_PAGE_2_H_