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.

45 lines
1.0 KiB

  1. // FilterDialog.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CFilterDialog dialog
  5. class CFilterDialog : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CFilterDialog(CWnd* pParent = NULL); // standard constructor
  10. // Dialog Data
  11. //{{AFX_DATA(CFilterDialog)
  12. enum { IDD = IDD_FILTER };
  13. CListBox m_DoNotDisplayThis;
  14. CListBox m_DisplayThis;
  15. //}}AFX_DATA
  16. // Overrides
  17. // ClassWizard generated virtual function overrides
  18. //{{AFX_VIRTUAL(CFilterDialog)
  19. protected:
  20. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  21. //}}AFX_VIRTUAL
  22. public:
  23. void SetDisplayFilter( BOOL* pFilters ) { m_pFilters = pFilters ;}
  24. // Implementation
  25. protected:
  26. // Generated message map functions
  27. //{{AFX_MSG(CFilterDialog)
  28. afx_msg void OnMoveToDisplay();
  29. afx_msg void OnMoveToNotDisplay();
  30. virtual BOOL OnInitDialog();
  31. //}}AFX_MSG
  32. DECLARE_MESSAGE_MAP()
  33. protected:
  34. void DisplayThisType( DWORD, TCHAR* );
  35. BOOL* m_pFilters;
  36. };