ImageView.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // ImageView.h : CImageView クラス宣言およびインターフェイス定義
  2. // Date 2006/05/17 Ver. 1.22 Psytec Inc.
  3. #if !defined(AFX_IMAGEVIEW_H__F393D9E2_40E7_4288_A236_61AB8812E193__INCLUDED_)
  4. #define AFX_IMAGEVIEW_H__F393D9E2_40E7_4288_A236_61AB8812E193__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CImageView クラス
  10. class CImageView : public CView
  11. {
  12. protected:
  13. CImageView();
  14. DECLARE_DYNCREATE(CImageView)
  15. // アトリビュート
  16. public:
  17. // オペレーション
  18. public:
  19. COleDataSource m_OleDataSource;
  20. // オーバーライド
  21. //{{AFX_VIRTUAL(CImageView)
  22. protected:
  23. virtual void OnDraw(CDC* pDC);
  24. //}}AFX_VIRTUAL
  25. // インプリメンテーション
  26. protected:
  27. virtual ~CImageView();
  28. #ifdef _DEBUG
  29. virtual void AssertValid() const;
  30. virtual void Dump(CDumpContext& dc) const;
  31. #endif
  32. protected:
  33. //{{AFX_MSG(CImageView)
  34. afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
  35. afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI);
  36. afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
  37. afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
  38. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  39. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  40. afx_msg void OnEditCopy();
  41. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. //{{AFX_INSERT_LOCATION}}
  47. #endif // !defined(AFX_IMAGEVIEW_H__F393D9E2_40E7_4288_A236_61AB8812E193__INCLUDED_)