12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #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
- class PrintPreview : public CDialog
- {
- CPoint m_startpt;
- CRect m_rc;
- public:
- int m_w;
- int m_h;
- PrintPreview(CWnd* pParent = NULL);
- CDC *m_pDC;
-
- enum { IDD = IDD_DLGprintpreview };
-
-
-
-
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
-
- protected:
-
-
- 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();
-
- DECLARE_MESSAGE_MAP()
- };
- #endif
|