ResourceStringSelectionDlg.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //===========================================================================//
  2. // Copyright (C) Microsoft Corporation. All rights reserved. //
  3. //===========================================================================//
  4. #if !defined(AFX_RESOURCESTRINGSELECTIONDLG_H__90F375DF_47EA_4C33_A4EB_281A4DADDC12__INCLUDED_)
  5. #define AFX_RESOURCESTRINGSELECTIONDLG_H__90F375DF_47EA_4C33_A4EB_281A4DADDC12__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. // ResourceStringSelectionDlg.h : header file
  10. //
  11. #include "EList.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. // ResourceStringSelectionDlg dialog
  14. class ResourceStringSelectionDlg : public CDialog
  15. {
  16. // Construction
  17. public:
  18. ResourceStringSelectionDlg(CWnd* pParent = NULL); // standard constructor
  19. int m_BottomOfIDRange;
  20. int m_TopOfIDRange;
  21. int m_SelectedResourceStringID;
  22. // Dialog Data
  23. //{{AFX_DATA(ResourceStringSelectionDlg)
  24. enum { IDD = IDD_RESOURCE_STRING_SELECTION };
  25. CComboBox m_Combo;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(ResourceStringSelectionDlg)
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. protected:
  35. class CIntList : public EList<int, int> {};
  36. CIntList m_ResourceStringIDs;
  37. // Generated message map functions
  38. //{{AFX_MSG(ResourceStringSelectionDlg)
  39. virtual BOOL OnInitDialog();
  40. virtual void OnOK();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_RESOURCESTRINGSELECTIONDLG_H__90F375DF_47EA_4C33_A4EB_281A4DADDC12__INCLUDED_)