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

📄 testdialogview.h

📁 一系列的c++例子 一步一步由浅入深 有 聊天室
💻 H
字号:
// TestDialogView.h : interface of the CTestDialogView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTDIALOGVIEW_H__EB9A746F_592F_43BA_A5BC_5815B6F3C49F__INCLUDED_)
#define AFX_TESTDIALOGVIEW_H__EB9A746F_592F_43BA_A5BC_5815B6F3C49F__INCLUDED_
#include "TextDlg.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "TestDialogDoc.h"
class CTestDialogView : public CView
{
protected: // create from serialization only
	CTestDialogView();
	DECLARE_DYNCREATE(CTestDialogView)

// Attributes
public:
	CTestDialogDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestDialogView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	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 Redraw(CDC* pDC);
	CFont* m_pCurFont;
	int m_nColor;
	virtual ~CTestDialogView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	CTextDlg* m_pDlg;
	CString m_strText;
	int m_nX;
	int m_nY;
	//{{AFX_MSG(CTestDialogView)
	afx_msg void OnTestFontdlg();
	afx_msg void OnTestTextdlg();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TestDialogView.cpp
inline CTestDialogDoc* CTestDialogView::GetDocument()
   { return (CTestDialogDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TESTDIALOGVIEW_H__EB9A746F_592F_43BA_A5BC_5815B6F3C49F__INCLUDED_)

⌨️ 快捷键说明

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