Leaked source code of windows server 2003
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.

70 lines
1.9 KiB

  1. #if !defined(AFX_DHCPROUTEARRAYEDITOR_H__2FE0FA05_8D0A_4D98_8C18_CBFDB201C4B9__INCLUDED_)
  2. #define AFX_DHCPROUTEARRAYEDITOR_H__2FE0FA05_8D0A_4D98_8C18_CBFDB201C4B9__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DhcpRouteArrayEditor.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CDhcpRouteArrayEditor dialog
  10. class CDhcpRouteArrayEditor : public CBaseDialog
  11. {
  12. // Construction
  13. public:
  14. CDhcpRouteArrayEditor( CDhcpOption *pdhcType,
  15. DHCP_OPTION_SCOPE_TYPE dhcScopeType,
  16. CWnd *pParent = NULL );
  17. // Dialog Data
  18. //{{AFX_DATA(CDhcpRouteArrayEditor)
  19. enum { IDD = IDD_ROUTE_ARRAY_EDIT };
  20. CStatic m_st_option;
  21. CStatic m_st_application;
  22. CListCtrl m_lc_routes;
  23. CButton m_butn_route_delete;
  24. CButton m_butn_route_add;
  25. //}}AFX_DATA
  26. CDhcpOption *m_p_type;
  27. DHCP_OPTION_SCOPE_TYPE m_option_type;
  28. void HandleActivation();
  29. void Fill( INT cFocus = -1,
  30. BOOL bToggleRedraw = TRUE );
  31. virtual DWORD * GetHelpMap() {
  32. return DhcpGetHelpMap( CDhcpRouteArrayEditor::IDD );
  33. }
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CDhcpRouteArrayEditor)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(CDhcpRouteArrayEditor)
  44. afx_msg void OnButnRouteAdd();
  45. afx_msg void OnButnRouteDelete();
  46. virtual void OnCancel();
  47. virtual void OnOK();
  48. virtual BOOL OnInitDialog();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. }; // class CDhcpRouteArrayEditor
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_DHCPROUTEARRAYEDITOR_H__2FE0FA05_8D0A_4D98_8C18_CBFDB201C4B9__INCLUDED_)