123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #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_ncopies;
- int m_mode;
- CString m_name;
- int m_w;
- int m_h;
- PrintPreview(CWnd* pParent = NULL); // standard constructor
- CDC *m_pDC;
- enum { IDD = IDD_DLGprintpreview };
- CSpinButtonCtrl m_spin;
- int m_radio1;
- UINT m_num;
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- 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();
- afx_msg void OnButton5();
- afx_msg void OnRadio1();
- afx_msg void OnRadio2();
- afx_msg void OnRadio3();
- afx_msg void OnRadio4();
- DECLARE_MESSAGE_MAP()
- };
- #endif
|