www.pudn.com > dip_1_1_bmp2jpeg.rar > dip_1_1View.h
// dip_1_1View.h : interface of the CDip_1_1View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DIP_1_1VIEW_H__53F18C5E_41AF_43C6_B1E3_BF12967802E7__INCLUDED_)
#define AFX_DIP_1_1VIEW_H__53F18C5E_41AF_43C6_B1E3_BF12967802E7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//#define HIMETRIC_INCH 2540
class CDip_1_1View : public CScrollView
{
protected: // create from serialization only
CDip_1_1View();
DECLARE_DYNCREATE(CDip_1_1View)
// Attributes
public:
CDip_1_1Doc* GetDocument();
//LPCSTR filenamesave;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDip_1_1View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDip_1_1View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
//void ShowPicture(CDC* pDC,CString m_strBRoute,int x,int y,int width,int height) ;
// Generated message map functions
protected:
//{{AFX_MSG(CDip_1_1View)
afx_msg LRESULT OnRealizePal(WPARAM wParam, LPARAM lParam);
afx_msg void OnBmptojpeg();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in dip_1_1View.cpp
inline CDip_1_1Doc* CDip_1_1View::GetDocument()
{ return (CDip_1_1Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIP_1_1VIEW_H__53F18C5E_41AF_43C6_B1E3_BF12967802E7__INCLUDED_)