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.

66 lines
1.8 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: SaveTemp.h
  7. //
  8. // Contents: definition of CSaveTemplates
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_SAVETEMP_H__E6815F79_0579_11D1_9C70_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_SAVETEMP_H__E6815F79_0579_11D1_9C70_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "HelpDlg.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CSaveTemplates dialog
  19. class CSaveTemplates : public CHelpDialog
  20. {
  21. // Construction
  22. public:
  23. void AddTemplate(LPCTSTR szInfFile,PEDITTEMPLATE pet);
  24. CSaveTemplates(CWnd* pParent = NULL); // standard constructor
  25. // Dialog Data
  26. //{{AFX_DATA(CSaveTemplates)
  27. enum { IDD = IDD_SAVE_TEMPLATES };
  28. CButton m_btnSaveSel;
  29. CListBox m_lbTemplates;
  30. //}}AFX_DATA
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CSaveTemplates)
  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(CSaveTemplates)
  41. virtual void OnOK();
  42. virtual void OnCancel();
  43. afx_msg void OnSaveSel();
  44. afx_msg void OnSelchangeTemplateList();
  45. virtual BOOL OnInitDialog();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. CMap<CString, LPCTSTR, PEDITTEMPLATE, PEDITTEMPLATE&> m_Templates;
  49. private:
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_SAVETEMP_H__E6815F79_0579_11D1_9C70_00C04FB6C6FA__INCLUDED_)