// PtStpView.h : interface of the CPutStampView class // ///////////////////////////////////////////////////////////////////////////// #include "PStmpDc.h" #if !defined(AFX_PTSTPVIEW_H__5190888C_0DD8_11D3_AC40_0060087BAA97__INCLUDED_) #define AFX_PTSTPVIEW_H__5190888C_0DD8_11D3_AC40_0060087BAA97__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CPutStampView : public CView { public: LBitmapWindow m_LBitmapWnd; private: L_INT m_nCount; L_INT m_nTimer; HCURSOR m_hOrigCursor; CString m_strDstFile; CString m_strSrcFile; LOADFILEOPTION LoadFileOption; protected: // create from serialization only CPutStampView(); DECLARE_DYNCREATE(CPutStampView) // Attributes public: CPutStampDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPutStampView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual void OnInitialUpdate(); protected: virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: L_VOID CompressBitmap( VOID ); virtual ~CPutStampView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CPutStampView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in PtStpView.cpp inline CPutStampDoc* CPutStampView::GetDocument() { return (CPutStampDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PTSTPVIEW_H__5190888C_0DD8_11D3_AC40_0060087BAA97__INCLUDED_)