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.

87 lines
2.3 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. fndrcdlg.h
  7. Find Record Dialog
  8. FILE HISTORY:
  9. 2/15/98 RamC Added Cancel button to the Find dialog
  10. */
  11. #if !defined(AFX_FNDRCDLG_H__C13DD118_4999_11D1_B9A8_00C04FBF914A__INCLUDED_)
  12. #define AFX_FNDRCDLG_H__C13DD118_4999_11D1_B9A8_00C04FBF914A__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CFindRecord dialog
  18. #ifndef _BASEDLG__
  19. #include "dialog.h"
  20. #endif
  21. class CActiveRegistrationsHandler;
  22. class CFindRecord : public CBaseDialog
  23. {
  24. // DECLARE_DYNCREATE(CFindRecord)
  25. // Construction
  26. public:
  27. CFindRecord(CActiveRegistrationsHandler *pActReg,CWnd* pParent = NULL);
  28. ~CFindRecord();
  29. CActiveRegistrationsHandler *m_pActreg;
  30. BOOL IsDuplicate(const CString & strName);
  31. void EnableButtons(BOOL bEnable);
  32. // Dialog Data
  33. //{{AFX_DATA(CFindRecord)
  34. enum { IDD = IDD_ACTREG_FIND_RECORD };
  35. CButton m_buttonOK;
  36. CButton m_buttonCancel;
  37. CComboBox m_comboLokkForName;
  38. CButton m_buttonStop;
  39. CButton m_buttonNewSearch;
  40. CButton m_buttonFindNow;
  41. CString m_strFindName;
  42. BOOL m_fMixedCase;
  43. //}}AFX_DATA
  44. // Overrides
  45. // ClassWizard generate virtual function overrides
  46. //{{AFX_VIRTUAL(CFindRecord)
  47. public:
  48. virtual void OnOK();
  49. virtual void OnCancel();
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. protected:
  55. // Generated message map functions
  56. //{{AFX_MSG(CFindRecord)
  57. virtual BOOL OnInitDialog();
  58. afx_msg void OnEditchangeComboName();
  59. afx_msg void OnSelendokComboName();
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. public:
  63. virtual DWORD * GetHelpMap() { return WinsGetHelpMap(CFindRecord::IDD);};//return NULL;}
  64. };
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_FNDRCDLG_H__C13DD118_4999_11D1_B9A8_00C04FBF914A__INCLUDED_)