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.

102 lines
2.6 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2001.
  5. //
  6. // File: Genpage.h
  7. //
  8. // Contents: Wireless Network Policy Management Snapin - Properties Page of Wireless Policy
  9. //
  10. //
  11. // History: TaroonM
  12. // 10/30/01
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(AFX_GENPAGE_H__FBD58E78_E2B5_11D0_B859_00A024CDD4DE__INCLUDED_)
  16. #define AFX_GENPAGE_H__FBD58E78_E2B5_11D0_B859_00A024CDD4DE__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. // GenPage.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CGenPage dialog
  24. class CGenPage : public CSnapinPropPage
  25. {
  26. DECLARE_DYNCREATE(CGenPage)
  27. // Construction
  28. public:
  29. CGenPage(UINT nIDTemplate = IDD_WIRELESSGENPROP);
  30. ~CGenPage();
  31. // Dialog Data
  32. UINT m_dlgIDD;
  33. //{{AFX_DATA(CGenPage)
  34. CEdit m_edName;
  35. CEdit m_edDescription;
  36. DWORD m_dwPollingInterval;
  37. BOOL m_dwEnableZeroConf;
  38. BOOL m_dwConnectToNonPreferredNtwks;
  39. CComboBox m_cbdwNetworksToAccess;
  40. //DWORD m_dwPollInterval;
  41. //}}AFX_DATA
  42. // Overrides
  43. // ClassWizard generate virtual function overrides
  44. //{{AFX_VIRTUAL(CGenPage)
  45. public:
  46. virtual BOOL OnApply();
  47. virtual void OnCancel();
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  50. //}}AFX_VIRTUAL
  51. virtual void OnManagerApplied();
  52. //UINT static AFX_CDECL DoAdvancedThread(LPVOID pParam);
  53. DWORD m_MMCthreadID;
  54. // Implementation
  55. protected:
  56. // Generated message map functions
  57. //{{AFX_MSG(CGenPage)
  58. virtual BOOL OnInitDialog();
  59. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  60. //afx_msg void OnAdvanced();
  61. afx_msg void OnChangedName();
  62. afx_msg void OnChangedDescription();
  63. afx_msg void OnChangedOtherParams();
  64. //afx_msg void OnChangedPollInterval();
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. void SetNewSheetTitle();
  68. // CCriticalSection m_csDlg;
  69. /* CDialog* m_pDlgIKE; */
  70. CString m_strOldName;
  71. BOOL m_bNameChanged; // TRUE if IDC_EDNAME's contents changed
  72. BOOL m_bPageInitialized;
  73. // taroonm virtual BOOL OnKillActive();
  74. private:
  75. BOOL m_bReadOnly;
  76. void DisableControls();
  77. };
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  80. #endif // !defined(AFX_GENPAGE_H__FBD58E78_E2B5_11D0_B859_00A024CDD4DE__INCLUDED_)