www.pudn.com > dip_1_1_bmp2jpeg.rar > JpegDisplay.h
#if !defined(AFX_JPEGDISPLAY_H__845C21DF_290D_4A7F_B047_66E258243888__INCLUDED_)
#define AFX_JPEGDISPLAY_H__845C21DF_290D_4A7F_B047_66E258243888__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// JpegDisplay.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CJpegDisplay dialog
class CJpegDisplay : public CDialog
{
// Construction
public:
CJpegDisplay(CWnd* pParent = NULL); // standard constructor
LPCSTR m_pathname;
WORD m_width,m_height;
BOOL ShowPhoto(CDC *pDC, CString strPath) ;
// Dialog Data
//{{AFX_DATA(CJpegDisplay)
enum { IDD = IDD_JPEG_DISPLAY };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
//void ShowPicture(CDC* pDC,CString m_strBRoute,int x,int y,int width,int height) ;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CJpegDisplay)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CJpegDisplay)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_JPEGDISPLAY_H__845C21DF_290D_4A7F_B047_66E258243888__INCLUDED_)