ShowPicStatic2.h 705 B

12345678910111213141516171819202122232425262728293031
  1. #if !defined(AFX_SHOWPICSTATIC2_H__709E221A_857F_48EB_8138_51F738208C88__INCLUDED_)
  2. #define AFX_SHOWPICSTATIC2_H__709E221A_857F_48EB_8138_51F738208C88__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif
  6. class ShowPicStatic2 : public CStatic
  7. {
  8. public:
  9. BOOL m_bDisable;
  10. BOOL m_bStretch;
  11. BYTE m_nFrameMode;
  12. Image *m_pImageBk;
  13. ShowPicStatic2();
  14. public:
  15. void ReleaseData();
  16. void SetPicPath(CString pathname);
  17. virtual ~ShowPicStatic2();
  18. protected:
  19. afx_msg void OnPaint();
  20. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  21. afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
  22. DECLARE_MESSAGE_MAP()
  23. };
  24. #endif // !defined(AFX_SHOWPICSTATIC2_H__709E221A_857F_48EB_8138_51F738208C88__INCLUDED_)