exportlisttoexcel.h

来自「将列表框的数据导入到Excel表中,以方便对数据进行统计和汇总及打印工作.」· C头文件 代码 · 共 53 行

H
53
字号
// ExportListToExcel.h : main header file for the EXPORTLISTTOEXCEL application
//

#if !defined(AFX_EXPORTLISTTOEXCEL_H__DA7D0C0C_3DF5_47EA_B499_B8F5D1DC4DC7__INCLUDED_)
#define AFX_EXPORTLISTTOEXCEL_H__DA7D0C0C_3DF5_47EA_B499_B8F5D1DC4DC7__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CExportListToExcelApp:
// See ExportListToExcel.cpp for the implementation of this class
//

class CExportListToExcelApp : public CWinApp
{
public:
	CExportListToExcelApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CExportListToExcelApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CExportListToExcelApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

CString		GetExcelDriver();
BOOL		MakeSurePathExists( CString &Path,	bool FilenameIncluded=true);
void		ExportListToExcel(CListCtrl* pList, CString strTitle);

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

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

#endif // !defined(AFX_EXPORTLISTTOEXCEL_H__DA7D0C0C_3DF5_47EA_B499_B8F5D1DC4DC7__INCLUDED_)

⌨️ 快捷键说明

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