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.

73 lines
1.8 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1996 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // YesToAll.h
  7. //
  8. // Abstract:
  9. // Definition of the CYesToAllDialog class.
  10. //
  11. // Implementation File:
  12. // YesToAll.cpp
  13. //
  14. // Author:
  15. // David Potter (davidp) May 20, 1997
  16. //
  17. // Revision History:
  18. //
  19. // Notes:
  20. //
  21. /////////////////////////////////////////////////////////////////////////////
  22. #ifndef _YESTOALL_H_
  23. #define _YESTOALL_H_
  24. /////////////////////////////////////////////////////////////////////////////
  25. // Forward Class Declarations
  26. /////////////////////////////////////////////////////////////////////////////
  27. class CYesToAllDialog;
  28. /////////////////////////////////////////////////////////////////////////////
  29. // class CYesToAllDialog
  30. /////////////////////////////////////////////////////////////////////////////
  31. class CYesToAllDialog : public CDialog
  32. {
  33. // Construction
  34. public:
  35. CYesToAllDialog(LPCTSTR pszMessage, CWnd * pParent = NULL); // standard constructor
  36. // Dialog Data
  37. //{{AFX_DATA(CYesToAllDialog)
  38. enum { IDD = IDD_YESTOALL };
  39. CString m_strMessage;
  40. //}}AFX_DATA
  41. LPCTSTR m_pszMessage;
  42. // Overrides
  43. // ClassWizard generated virtual function overrides
  44. //{{AFX_VIRTUAL(CYesToAllDialog)
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. // Generated message map functions
  51. //{{AFX_MSG(CYesToAllDialog)
  52. virtual BOOL OnInitDialog();
  53. afx_msg void OnYes();
  54. afx_msg void OnNo();
  55. afx_msg void OnYesToAll();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. }; //*** class CYesToAllDialog
  59. /////////////////////////////////////////////////////////////////////////////
  60. #endif // _YESTOALL_H_