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

📄 booksview.h

📁 这是我做的一个电子图书管理系统的软件程序。希望对大家有帮助!
💻 H
字号:
// BOOKSView.h : interface of the CBOOKSView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_BOOKSVIEW_H__F15163EA_15FE_4ACF_A20A_E5F4BFD2CB51__INCLUDED_)
#define AFX_BOOKSVIEW_H__F15163EA_15FE_4ACF_A20A_E5F4BFD2CB51__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Sortset.h"
//#include "SortMag.h"
#include "BOOKS.h"

class CBOOKSSet;
//class CSortset;

class CBOOKSView : public CRecordView
{
protected: // create from serialization only
	CBOOKSView();
	DECLARE_DYNCREATE(CBOOKSView)

public:
	//{{AFX_DATA(CBOOKSView)
	enum { IDD = IDD_BOOKS_FORM };
	CListCtrl	m_topiclist;
	CListCtrl	m_booklist;
	CListCtrl * m_pbooklist;
	CBOOKSSet* m_pSet;
	CSortset m_pSort;
	int		m_count3;
	//}}AFX_DATA
//	friend CSortMag;
// Attributes
public:
	CBOOKSDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBOOKSView)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	bool m_querybl;
	CWnd * m_pSelf;
	void RushListctrl(CRecordset *m_pRecord,CListCtrl &m_list,CString m_str);
	CString m_sort;
	int number;
	int count;
	virtual ~CBOOKSView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CBOOKSView)
	afx_msg void OnAdd();
	afx_msg void OnEditbook();
	afx_msg void OnDeletebook();
	afx_msg void OnDblclkTopiclist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickTopiclist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickBooklist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButton1();
	afx_msg void OnTopicManage();
	afx_msg void OnQuery();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_editNAME;
};

#ifndef _DEBUG  // debug version in BOOKSView.cpp
inline CBOOKSDoc* CBOOKSView::GetDocument()
   { return (CBOOKSDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_BOOKSVIEW_H__F15163EA_15FE_4ACF_A20A_E5F4BFD2CB51__INCLUDED_)

⌨️ 快捷键说明

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