exportview.h

来自「深入浅出Visual C++入门进阶与应用实例 随书光盘 作者 何志丹」· C头文件 代码 · 共 86 行

H
86
字号
#if !defined(AFX_EXPORTVIEW_H__AEB3EF9E_FC30_400B_985A_21F391C62B45__INCLUDED_)
#define AFX_EXPORTVIEW_H__AEB3EF9E_FC30_400B_985A_21F391C62B45__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CExportView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class   CExportView : public CFormView
{
protected:
	CExportView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CExportView)

// Form Data
public:
	//{{AFX_DATA(CExportView)
	enum { IDD = IDD_EXPORTVIEW };
	CListBox	m_listWebName;
	CString	m_strCurArticleTopic;
	BOOL	m_bUseQMDExportArticle;
	BOOL	m_bUserQMDExportClass;
	BOOL	m_bUserLink;
	int		m_ExportType;
	BOOL	m_bExportSome;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CExportView)
	public:
	virtual void OnInitialUpdate();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CExportView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CExportView)
	afx_msg void OnExport();
	afx_msg void OnSelchangeListWebname();
	afx_msg void OnSetting();
	afx_msg void OnDestroy();
	afx_msg void OnAdvance();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void InitWebNameList();
	bool ExportCurClass();
	bool ExportCurArticle();
	void OnUserEvent() ;

	CArray<CWebInfo*,CWebInfo*>   m_arWebInfos ;
	CShowContentDlg* m_pShowContentDlg ;
};

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

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

#endif // !defined(AFX_EXPORTVIEW_H__AEB3EF9E_FC30_400B_985A_21F391C62B45__INCLUDED_)

⌨️ 快捷键说明

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