PrintPreview.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #if !defined(AFX_PRINTPREVIEW_H__461B35DD_EF8C_4D14_B423_45C05BEF6803__INCLUDED_)
  2. #define AFX_PRINTPREVIEW_H__461B35DD_EF8C_4D14_B423_45C05BEF6803__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PrintPreview.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // PrintPreview dialog
  10. class PrintPreview : public CDialog
  11. {
  12. CPoint m_startpt;
  13. CRect m_rc;
  14. // Construction
  15. public:
  16. int m_ncopies;
  17. int m_mode;
  18. CString m_name;
  19. int m_w;
  20. int m_h;
  21. PrintPreview(CWnd* pParent = NULL); // standard constructor
  22. CDC *m_pDC;
  23. // Dialog Data
  24. //{{AFX_DATA(PrintPreview)
  25. enum { IDD = IDD_DLGprintpreview };
  26. CSpinButtonCtrl m_spin;
  27. int m_radio1;
  28. UINT m_num;
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(PrintPreview)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(PrintPreview)
  40. virtual void OnOK();
  41. virtual void OnCancel();
  42. afx_msg void OnClose();
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnPaint();
  45. afx_msg void OnButton1();
  46. afx_msg void OnButton2();
  47. afx_msg void OnButton3();
  48. afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
  49. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  50. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  51. afx_msg void OnButton4();
  52. afx_msg void OnButton5();
  53. afx_msg void OnRadio1();
  54. afx_msg void OnRadio2();
  55. afx_msg void OnRadio3();
  56. afx_msg void OnRadio4();
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_PRINTPREVIEW_H__461B35DD_EF8C_4D14_B423_45C05BEF6803__INCLUDED_)