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.

37 lines
960 B

  1. #pragma once
  2. #include "stdafx.h"
  3. #include <windows.h>
  4. #include "resource.h"
  5. #include "atlsnap.h"
  6. #include "netconp.h"
  7. class CPropertiesDialog : public CSnapInPropertyPageImpl<CPropertiesDialog, FALSE>
  8. {
  9. public:
  10. BEGIN_MSG_MAP(CPropertiesDialog)
  11. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  12. MESSAGE_HANDLER(WM_DESTROY, OnDestroy)
  13. MESSAGE_HANDLER(WM_NOTIFY, OnNotify)
  14. END_MSG_MAP()
  15. enum { IDD = IDD_PROPERTIES };
  16. CPropertiesDialog(IInternetGateway* pInternetGateway);
  17. ~CPropertiesDialog();
  18. static HRESULT ShouldShowIcon(void);
  19. static HRESULT SetShowIcon(BOOL bShowIcon);
  20. private:
  21. LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  22. LRESULT OnDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  23. LRESULT OnNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  24. HICON m_hIcon;
  25. IInternetGateway* m_pInternetGateway;
  26. };