reportwizard.h

来自「一个很好的VC++ 用ODBC编的」· C头文件 代码 · 共 80 行

H
80
字号
// ReportWizard.h : header file
//
// This class defines custom modal property sheet 
// CReportWizard.
 // CReportWizard has been customized to include
// a preview window.
 
#ifndef __REPORTWIZARD_H__
#define __REPORTWIZARD_H__

#include "ReportWzdField.h"
#include "PreviewWnd.h"
#include "ReportWzdPreview.h"

/////////////////////////////////////////////////////////////////////////////
// CReportWizard

class CReportWizard : public CPropertySheet
{
	DECLARE_DYNAMIC(CReportWizard)

// Construction
public:
	CReportWizard(CWnd* pWndParent = NULL);

// Attributes
public:
	CReportWzdField m_Page1;
	CReportWzdFormat m_Page2;
	CReportWzdPreview m_Page3;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CReportWizard)
	//}}AFX_VIRTUAL

// Implementation
public:
	// standard information
	CString m_strReportTitle;
	CString m_strReportFooter;
	BOOL	m_fHavePage;
	UINT	m_uPageType;

	// fields information
	CStringArray m_saSelectedFields;
	CStringArray m_saSelectedFieldsTitle;

	// format information
	// font name
	CString	m_strFontTitle;
	CString	m_strFontContentHead;
	CString	m_strFontContent;
	CString	m_strFontFooter;

	// font size
	UINT	m_uSizeTitle;
	UINT	m_uSizeContentHead;
	UINT	m_uSizeContent;
	UINT	m_uSizeFooter;


	virtual ~CReportWizard();
		 virtual BOOL OnInitDialog();

// Generated message map functions
protected:
	//{{AFX_MSG(CReportWizard)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

#endif	// __REPORTWIZARD_H__

⌨️ 快捷键说明

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