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.

83 lines
1.9 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. vrfysrv.h
  7. verify wins dialog
  8. FILE HISTORY:
  9. */
  10. #if !defined(AFX_VERIFYSRV_H__6DB886C1_8E0F_11D1_BA0B_00C04FBF914A__INCLUDED_)
  11. #define AFX_VERIFYSRV_H__6DB886C1_8E0F_11D1_BA0B_00C04FBF914A__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CVerifyWins dialog
  17. #ifndef _DIALOG_H
  18. #include "dialog.h"
  19. #endif
  20. class CVerifyWins : public CBaseDialog
  21. {
  22. // Construction
  23. public:
  24. CVerifyWins(CWnd* pParent = NULL); // standard constructor
  25. // Dialog Data
  26. //{{AFX_DATA(CVerifyWins)
  27. enum { IDD = IDD_VERIFY_WINS };
  28. CButton m_buttonCancel;
  29. CStatic m_staticServerName;
  30. //}}AFX_DATA
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CVerifyWins)
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. // Generated message map functions
  40. //{{AFX_MSG(CVerifyWins)
  41. virtual void OnCancel();
  42. virtual BOOL OnInitDialog();
  43. afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. private:
  47. BOOL m_fCancelPressed;
  48. public:
  49. BOOL IsCancelPressed()
  50. {
  51. return m_fCancelPressed;
  52. }
  53. void Dismiss();
  54. virtual void PostNcDestroy();
  55. void SetServerName(CString strName);
  56. public:
  57. virtual DWORD * GetHelpMap() { return WinsGetHelpMap(CVerifyWins::IDD);};
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_VERIFYSRV_H__6DB886C1_8E0F_11D1_BA0B_00C04FBF914A__INCLUDED_)