SetSize.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #if !defined(AFX_SETSIZE_H__D0D56FDB_04DB_4D8B_AE4F_326F94B06263__INCLUDED_)
  2. #define AFX_SETSIZE_H__D0D56FDB_04DB_4D8B_AE4F_326F94B06263__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SetSize.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // SetSize dialog
  10. class SetSize : public CDialog
  11. {
  12. CStringArray namearray;
  13. CArray<int,int>widtharray;
  14. CArray<int,int>heightarray;
  15. // Construction
  16. public:
  17. void SaveToFile();
  18. SetSize(CWnd* pParent = NULL); // standard constructor
  19. // Dialog Data
  20. //{{AFX_DATA(SetSize)
  21. enum { IDD = IDD_DLGSetSize };
  22. CListBox m_List1;
  23. CString m_name;
  24. UINT m_width;
  25. UINT m_height;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(SetSize)
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. protected:
  35. // Generated message map functions
  36. //{{AFX_MSG(SetSize)
  37. virtual BOOL OnInitDialog();
  38. afx_msg void OnSelchangeList1();
  39. afx_msg void OnBUTadd();
  40. afx_msg void OnBUTdel();
  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_SETSIZE_H__D0D56FDB_04DB_4D8B_AE4F_326F94B06263__INCLUDED_)