commprintdlg.h

来自「Visual C++高级编程及其项目应用开发(含源代码)」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_COMMPRINTDLG_H__BE787E61_0D60_4B6E_B8D5_21684923A489__INCLUDED_)
#define AFX_COMMPRINTDLG_H__BE787E61_0D60_4B6E_B8D5_21684923A489__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CommPrintDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCommPrintDlg dialog

class CCommPrintDlg : public CDialog
{
// Construction
public:
	CCommPrintDlg(CWnd* pParent = NULL);   // standard constructor

	_bstr_t		m_strSql; // 用来存储初始化的SQL语句

// Dialog Data
	//{{AFX_DATA(CCommPrintDlg)
	enum { IDD = IDD_DIALOG_PRINT };
	CButton	m_btnExcel;
	CButton	m_btnWord;
	CListBox	m_lstSource;
	CListBox	m_lstDest;
	CString	m_strTitle;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCommPrintDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCommPrintDlg)
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnDblclkListSource();
	afx_msg void OnDblclkListDest();
	afx_msg void OnBtnAdd();
	afx_msg void OnBtnDel();
	afx_msg void OnBtnAddall();
	afx_msg void OnBtnDelall();
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnQuit();
	afx_msg void OnBtnSetting();
	afx_msg void OnBtnWord();
	afx_msg void OnBtnExcel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COMMPRINTDLG_H__BE787E61_0D60_4B6E_B8D5_21684923A489__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?