MyPicSta.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #if !defined(AFX_MYPICSTA_H__4A42E4EE_4558_4FBC_A940_7C6E266DC17F__INCLUDED_)
  2. #define AFX_MYPICSTA_H__4A42E4EE_4558_4FBC_A940_7C6E266DC17F__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MyPicSta.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // MyPicSta window
  10. class MyPicSta : public CStatic
  11. {
  12. // Construction
  13. public:
  14. MyPicSta();
  15. Image *m_pbmp;
  16. Image *m_pImg;
  17. // Attributes
  18. public:
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(MyPicSta)
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. public:
  27. void SetImage(Image *img);
  28. virtual ~MyPicSta();
  29. // Generated message map functions
  30. protected:
  31. //{{AFX_MSG(MyPicSta)
  32. afx_msg void OnPaint();
  33. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  34. //}}AFX_MSG
  35. DECLARE_MESSAGE_MAP()
  36. };
  37. /////////////////////////////////////////////////////////////////////////////
  38. //{{AFX_INSERT_LOCATION}}
  39. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  40. #endif // !defined(AFX_MYPICSTA_H__4A42E4EE_4558_4FBC_A940_7C6E266DC17F__INCLUDED_)