DlgPrint.h
上传用户:jzscgs158
上传日期:2022-05-25
资源大小:8709k
文件大小:2k
- #if !defined(AFX_DLGPRINT_H__34940887_1FB3_4615_9117_6A7D208C06F4__INCLUDED_)
- #define AFX_DLGPRINT_H__34940887_1FB3_4615_9117_6A7D208C06F4__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DlgPrint.h : header file
- // Download by http://www.codefans.net
- #include "GridCtrl.h"
- /////////////////////////////////////////////////////////////////////////////
- // CDlgPrint dialog
- class CDlgPrint : public CDialog
- {
- // Construction
- public:
- CDlgPrint(CWnd* pParent = NULL); // standard constructor
- CString strSql;
- CString strTitle;
- CListCtrl *m_ListMain;
- // Dialog Data
- //{{AFX_DATA(CDlgPrint)
- enum { IDD = IDD_PRINT_DIALOG };
- // NOTE: the ClassWizard will add data members here
- CGridCtrl m_Grid;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDlgPrint)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CDlgPrint)
- virtual BOOL OnInitDialog();
- afx_msg void OnPrintSet();
- afx_msg void OnPrint();
- afx_msg void OnPrintPreview();
- //}}AFX_MSG
- LRESULT OnBeginPrinting(WPARAM wParam,LPARAM lParam);
- LRESULT OnEndPrinting(WPARAM wParam,LPARAM lParam);
- LRESULT OnMyPrint(WPARAM wParam,LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLGPRINT_H__34940887_1FB3_4615_9117_6A7D208C06F4__INCLUDED_)