⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pubreportdlg.h

📁 Visual C++实践与提高--数据库开发与工程应用篇 随书代码 希望对用ADO开发的人会有所帮助 这是第8、9章的
💻 H
字号:
// PubReportDlg.h : header file
//
//{{AFX_INCLUDES()

#include "crystalreportviewer11.h"
//}}AFX_INCLUDES

#if !defined(AFX_PUBREPORTDLG_H__C3D5F2C1_8AEF_4FEA_9EF4_A501B61D2317__INCLUDED_)
#define AFX_PUBREPORTDLG_H__C3D5F2C1_8AEF_4FEA_9EF4_A501B61D2317__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CPubReportDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CPubReportDlg)
	enum { IDD = IDD_PUBREPORT_DIALOG };
	CButton	m_btnType;
	CButton	m_btnState;
	CButton	m_CheckTitle;
	CButton	m_CheckAuthor;
	CComboBox	m_ComboType;
	CComboBox	m_ComboState;
	BOOL	m_bAuthor;
	BOOL	m_bTitle;
	CString	m_strState;
	CCrystalReportViewer11	m_Viewer;
	//}}AFX_DATA

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

// Implementation
protected:
	void InitCombo();
	void InitReport();
	HICON m_hIcon;
	IApplicationPtr m_pApp;
	IReportPtr m_pReport;
	// Generated message map functions
	//{{AFX_MSG(CPubReportDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnCheckAuthor();
	afx_msg void OnCheckTitle();
	afx_msg void OnButtonState();
	afx_msg void OnButtonType();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PUBREPORTDLG_H__C3D5F2C1_8AEF_4FEA_9EF4_A501B61D2317__INCLUDED_)

⌨️ 快捷键说明

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