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.

78 lines
2.1 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. SrchFltr.h
  7. Search Filter dialog header file
  8. FILE HISTORY:
  9. */
  10. #if !defined(AFX_SRCHMMFLTR_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_)
  11. #define AFX_SRCHMMFLTR_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_
  12. #include "mdlsdlg.h"
  13. #include "spddb.h"
  14. #include "ipctrl.h"
  15. #if _MSC_VER >= 1000
  16. #pragma once
  17. #endif // _MSC_VER >= 1000
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CSearchMMFilters dialog
  20. class CSearchMMFilters : public CModelessDlg
  21. {
  22. // Construction
  23. public:
  24. CSearchMMFilters(ISpdInfo * pSpdInfo); // standard constructor
  25. // Dialog Data
  26. //{{AFX_DATA(CSearchMMFilters)
  27. enum { IDD = IDD_MM_SRCH_FLTRS };
  28. //}}AFX_DATA
  29. virtual DWORD * GetHelpMap() { return (DWORD *) &g_aHelpIDs_IDD_MM_SRCH_FLTRS[0]; }
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CSearchMMFilters)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(CSearchMMFilters)
  40. virtual BOOL OnInitDialog();
  41. afx_msg void OnButtonSearch();
  42. afx_msg void OnSrcOptionClicked();
  43. afx_msg void OnDestOptionClicked();
  44. virtual void OnOK();
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. CListCtrl m_listResult;
  48. IPControl m_ipSrc;
  49. IPControl m_ipDest;
  50. private:
  51. HWND CreateIPControl(UINT uID, UINT uIDIpCtl);
  52. BOOL LoadConditionInfoFromControls(CMmFilterInfo * pFltr);
  53. void PopulateFilterListToControl(CMmFilterInfoArray * parrFltrs);
  54. public:
  55. SPISpdInfo m_spSpdInfo;
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_SRCHMMFLTR_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_)