#if !defined(AFX_PRINTPREVIEW_H__461B35DD_EF8C_4D14_B423_45C05BEF6803__INCLUDED_) #define AFX_PRINTPREVIEW_H__461B35DD_EF8C_4D14_B423_45C05BEF6803__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PrintPreview.h : header file // ///////////////////////////////////////////////////////////////////////////// // PrintPreview dialog class PrintPreview : public CDialog { CPoint m_startpt; CRect m_rc; // Construction public: int m_w; int m_h; PrintPreview(CWnd* pParent = NULL); // standard constructor CDC *m_pDC; // Dialog Data //{{AFX_DATA(PrintPreview) enum { IDD = IDD_DLGprintpreview }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(PrintPreview) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(PrintPreview) virtual void OnOK(); virtual void OnCancel(); afx_msg void OnClose(); virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg void OnButton1(); afx_msg void OnButton2(); afx_msg void OnButton3(); afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg void OnButton4(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PRINTPREVIEW_H__461B35DD_EF8C_4D14_B423_45C05BEF6803__INCLUDED_)