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.

74 lines
2.1 KiB

  1. #if !defined(AFX_STRARRDLG_H__AC005639_461C_4626_8D2F_7EE27F09AFFD__INCLUDED_)
  2. #define AFX_STRARRDLG_H__AC005639_461C_4626_8D2F_7EE27F09AFFD__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // strarrdlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // StringArrayEditor dialog
  10. class CDhcpStringArrayEditor : public CBaseDialog
  11. {
  12. // Construction
  13. public:
  14. CDhcpStringArrayEditor( CDhcpOption *pdhcType,
  15. DHCP_OPTION_SCOPE_TYPE dhcScopeType,
  16. CWnd *pParent = NULL );
  17. // Dialog Data
  18. //{{AFX_DATA(StringArrayEditor)
  19. enum { IDD = IDD_STRING_ARRAY_EDIT };
  20. CStatic m_static_option_name;
  21. CStatic m_static_application;
  22. CButton m_b_up;
  23. CButton m_b_down;
  24. CButton m_b_delete;
  25. CButton m_b_add;
  26. CListBox m_lb_str;
  27. CEdit m_edit;
  28. CString m_edit_value;
  29. //}}AFX_DATA
  30. CDhcpOption *m_p_type;
  31. DHCP_OPTION_SCOPE_TYPE m_option_type;
  32. void HandleActivation();
  33. void Fill( INT cFocus = -1,
  34. BOOL bToggleRedraw = TRUE );
  35. virtual DWORD * GetHelpMap() {
  36. return DhcpGetHelpMap( CDhcpStringArrayEditor::IDD );
  37. }
  38. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(StringArrayEditor)
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. // Generated message map functions
  47. //{{AFX_MSG(StringArrayEditor)
  48. afx_msg void OnButnAdd();
  49. afx_msg void OnButnDelete();
  50. afx_msg void OnButnDown();
  51. afx_msg void OnButnUp();
  52. afx_msg void OnChangeEditString();
  53. afx_msg void OnSelchangeListString();
  54. virtual void OnCancel();
  55. virtual void OnOK();
  56. virtual BOOL OnInitDialog();
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_STRARRDLG_H__AC005639_461C_4626_8D2F_7EE27F09AFFD__INCLUDED_)