23 lines
371 B
C++
23 lines
371 B
C++
#pragma once
|
|
#include <afxwin.h>
|
|
|
|
class CImageShowStatic : public CStatic
|
|
{
|
|
DECLARE_DYNAMIC(CImageShowStatic)
|
|
|
|
public:
|
|
CImageShowStatic();
|
|
|
|
void ShowJPG(CString& sJPGFile) { m_sJPGFile = sJPGFile; };
|
|
protected:
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
virtual void PreSubclassWindow();
|
|
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
|
|
|
|
private:
|
|
CString m_sJPGFile;
|
|
};
|
|
|