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

📄 firstview.h

📁 VC.net 的一些有用的技巧
💻 H
字号:
// FirstView.h : CFirstView 类的接口
//

#include "TwoViewDoc.h"
#pragma once


class CFirstView : public CFormView
{
protected: // 仅从序列化创建
	CFirstView();
	DECLARE_DYNCREATE(CFirstView)

public:
	enum{ IDD = IDD_TWOVIEW_FORM };

// 属性
public:
	CTwoViewDoc* GetDocument() const;

// 操作
public:

// 重写
	public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual void OnInitialUpdate(); // 构造后第一次调用

// 实现
public:
	virtual ~CFirstView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// 生成的消息映射函数
protected:
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // FirstView.cpp 的调试版本
inline CTwoViewDoc* CFirstView::GetDocument() const
   { return reinterpret_cast<CTwoViewDoc*>(m_pDocument); }
#endif

⌨️ 快捷键说明

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