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.

71 lines
1.9 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_MODELESSDLG_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_)
  11. #define AFX_MODELESSDLG_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_
  12. #include "spddb.h"
  13. #include "ipctrl.h"
  14. #if _MSC_VER >= 1000
  15. #pragma once
  16. #endif // _MSC_VER >= 1000
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CModelessDlg dialog
  19. class CModelessDlg : public CBaseDialog
  20. {
  21. // Construction
  22. public:
  23. CModelessDlg(); // standard constructor
  24. virtual ~CModelessDlg();
  25. HANDLE GetSignalEvent() { return m_hEventThreadKilled; }
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CSearchFilters)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. virtual void OnOK();
  35. virtual void OnCancel();
  36. // Generated message map functions
  37. //{{AFX_MSG(CModelessDlg)
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. // This is used by the thread and the handler (the thread signals
  41. // the handler that it has cleaned up after itself).
  42. HANDLE m_hEventThreadKilled;
  43. };
  44. void CreateModelessDlg(CModelessDlg * pDlg,
  45. HWND hWndParent,
  46. UINT nIDD);
  47. void WaitForModelessDlgClose(CModelessDlg *pWndStats);
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_MODELESSDLG_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_)