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.

94 lines
2.5 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. pgmulnk.h
  7. Definition of CPgMultilink -- property page to edit
  8. profile attributes related to multiple connections
  9. FILE HISTORY:
  10. */
  11. #if !defined(AFX_PGMULNK_H__8C28D93E_2A69_11D1_853E_00C04FC31FD3__INCLUDED_)
  12. #define AFX_PGMULNK_H__8C28D93E_2A69_11D1_853E_00C04FC31FD3__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. // PgMulnk.h : header file
  17. //
  18. #include "rasdial.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CPgMultilinkMerge dialog
  21. class CPgMultilinkMerge : public CManagedPage
  22. {
  23. DECLARE_DYNCREATE(CPgMultilinkMerge)
  24. // Construction
  25. public:
  26. CPgMultilinkMerge(CRASProfileMerge* profile = NULL);
  27. ~CPgMultilinkMerge();
  28. // Dialog Data
  29. //{{AFX_DATA(CPgMultilinkMerge)
  30. enum { IDD = IDD_MULTILINK_MERGE };
  31. CButton m_CheckRequireBAP;
  32. CEdit m_EditTime;
  33. CEdit m_EditPorts;
  34. CEdit m_EditPercent;
  35. CSpinButtonCtrl m_SpinTime;
  36. CSpinButtonCtrl m_SpinPercent;
  37. CSpinButtonCtrl m_SpinMaxPorts;
  38. CComboBox m_CBUnit;
  39. UINT m_nTime;
  40. int m_Unit;
  41. BOOL m_bRequireBAP;
  42. int m_nMultilinkPolicy;
  43. //}}AFX_DATA
  44. // Overrides
  45. // ClassWizard generate virtual function overrides
  46. //{{AFX_VIRTUAL(CPgMultilinkMerge)
  47. public:
  48. virtual BOOL OnApply();
  49. protected:
  50. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  51. //}}AFX_VIRTUAL
  52. // Implementation
  53. protected:
  54. void EnablePorts();
  55. void EnableBAP();
  56. void EnableSettings();
  57. // Generated message map functions
  58. //{{AFX_MSG(CPgMultilinkMerge)
  59. virtual BOOL OnInitDialog();
  60. afx_msg void OnChangeEditmaxports();
  61. afx_msg void OnChangeEditpercent();
  62. afx_msg void OnChangeEdittime();
  63. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  64. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  65. afx_msg void OnCheckmultilink();
  66. afx_msg void OnCheckmaxlink();
  67. afx_msg void OnSelchangeCombounit();
  68. afx_msg void OnCheckrequirebap();
  69. afx_msg void OnRadioMulnkMulti();
  70. afx_msg void OnRadioMulnkNotdefined();
  71. afx_msg void OnRadioMulnkSingle();
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. CRASProfileMerge* m_pProfile;
  75. bool m_bInited;
  76. };
  77. //{{AFX_INSERT_LOCATION}}
  78. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  79. #endif // !defined(AFX_PGMULNK_H__8C28D93E_2A69_11D1_853E_00C04FC31FD3__INCLUDED_)