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.

80 lines
1.9 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1997 - 1999
  4. Module Name:
  5. PoliciesPage1.h
  6. Abstract:
  7. Header file for the CPoliciesPage1 class.
  8. This is our handler class for the first CMachineNode property page.
  9. See PoliciesPage1.cpp for implementation.
  10. Revision History:
  11. mmaguire 12/15/97 - created
  12. --*/
  13. //////////////////////////////////////////////////////////////////////////////
  14. #if !defined(_NAP_POLICIES_PAGE_1_H_)
  15. #define _NAP_POLICIES_PAGE_1_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 CPoliciesPage1 : public CIASPropertyPage<CPoliciesPage1>
  30. {
  31. public :
  32. // ISSUE: how is base class initialization going to work with subclassing???
  33. CPoliciesPage1( LONG_PTR hNotificationHandle, TCHAR* pTitle = NULL, BOOL bOwnsNotificationHandle = FALSE )
  34. : CIASPropertyPage<CPoliciesPage1> ( hNotificationHandle, pTitle, bOwnsNotificationHandle )
  35. {
  36. // Add the help button to the page
  37. // m_psp.dwFlags |= PSP_HASHELP;
  38. }
  39. // This is the ID of the dialog resource we want for this class.
  40. // An enum is used here because the correct value of
  41. // IDD must be initialized before the base class's constructor is called
  42. enum { IDD = IDD_PROPPAGE_POLICIES1 };
  43. BEGIN_MSG_MAP(CPoliciesPage1)
  44. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  45. // COMMAND_ID_HANDLER( IDC_BUTTON_CLIENT_PAGE1_FIND, OnResolveClientAddress )
  46. CHAIN_MSG_MAP(CIASPropertyPage<CPoliciesPage1>)
  47. END_MSG_MAP()
  48. LRESULT OnInitDialog(
  49. UINT uMsg
  50. , WPARAM wParam
  51. , LPARAM lParam
  52. , BOOL& bHandled
  53. );
  54. BOOL OnApply();
  55. };
  56. #endif // _NAP_POLICIES_PAGE_1_H_