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

📄 testpaperview.h

📁 这是目前正应用于辽宁省很多县级中学的试题库系统源代码
💻 H
字号:
// TestPaperView.h : interface of the CTestPaperView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTPAPERVIEW_H__A75991D2_DFF1_447E_A59F_2943E769FD11__INCLUDED_)
#define AFX_TESTPAPERVIEW_H__A75991D2_DFF1_447E_A59F_2943E769FD11__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "TestPaperDoc.h"

class CTestPaperView : public CView
{
public: // create from serialization only
	CTestPaperView();
	DECLARE_DYNCREATE(CTestPaperView)

// Attributes
public:
	CTestPaperDoc* GetDocument();
	CListCtrl m_ListCtrl;
	int       Myitem;
	
	
	//COLORREF color;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestPaperView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	void CreateListCtrl();
	virtual ~CTestPaperView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestPaperView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	afx_msg void OnMyClickList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnMyDblClkList(NMHDR* pNMHDR, LRESULT* pResult);
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TestPaperView.cpp
inline CTestPaperDoc* CTestPaperView::GetDocument()
   { return (CTestPaperDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TESTPAPERVIEW_H__A75991D2_DFF1_447E_A59F_2943E769FD11__INCLUDED_)

⌨️ 快捷键说明

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