testpaperview.h
来自「这是目前正应用于辽宁省很多县级中学的试题库系统源代码」· C头文件 代码 · 共 77 行
H
77 行
// 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 + =
减小字号Ctrl + -
显示快捷键?