CImageStatic.h 363 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <afxwin.h>
  3. #include <atlimage.h>
  4. #include <afxglobals.h>
  5. class CImageStatic : public CStatic
  6. {
  7. DECLARE_DYNAMIC(CImageStatic)
  8. public:
  9. CImageStatic();
  10. virtual ~CImageStatic();
  11. BOOL SetImage(LPCTSTR szImage);
  12. public:
  13. CImage m_Image;
  14. DECLARE_MESSAGE_MAP()
  15. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  16. };