Old fashion design for PC-104
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.

54 lines
1.2 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: ImageViewWnd.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of ImageViewWnd.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_IMAGEVIEWWND_H__84739C0C_FE95_4431_B2F2_8EAF52607479__INCLUDED_)
  15. #define AFX_IMAGEVIEWWND_H__84739C0C_FE95_4431_B2F2_8EAF52607479__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "..\LgLib\MFC\MemoryDC.h"
  20. class CImageViewWnd : public CWnd
  21. {
  22. public:
  23. CImageViewWnd();
  24. public:
  25. BOOL Create( CWnd* pParentWnd, CRect &rect );
  26. public:
  27. //{{AFX_VIRTUAL(CImageViewWnd)
  28. //}}AFX_VIRTUAL
  29. public:
  30. CLgMemoryDC& GetMemoryDC();
  31. virtual ~CImageViewWnd();
  32. protected:
  33. //{{AFX_MSG(CImageViewWnd)
  34. afx_msg void OnPaint();
  35. afx_msg void OnSize(UINT nType, int cx, int cy);
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. private:
  39. void OnDraw( CDC *pDC );
  40. private:
  41. CLgMemoryDC m_MemoryDC;
  42. };
  43. //{{AFX_INSERT_LOCATION}}
  44. #endif