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

📄 bottomview.h

📁 VC.net 的一些有用的技巧
💻 H
字号:
#pragma once
#include "atltypes.h"
#include "SplitWindowDoc.h"


// CBottomView 视图

class CBottomView : public CScrollView
{
	DECLARE_DYNCREATE(CBottomView)

protected:
	CBottomView();           // 动态创建所使用的受保护的构造函数
	virtual ~CBottomView();

public:
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	virtual void OnDraw(CDC* pDC);      // 重写以绘制此视图
	virtual void OnInitialUpdate();     // 构造后的第一次

	DECLARE_MESSAGE_MAP()
public:
	CRect m_bottomrect;
	int m_nHSBPos;
	int m_nVSBPos;
	CSize m_sizeTotal;
	CSize m_sizePage;
	CSize m_sizeLine;
protected:
	virtual void OnUpdate(CView* /*pSender*/, LPARAM /*lHint*/, CObject* /*pHint*/);
public:
	CSplitWindowDoc* GetDocument(void);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
};


⌨️ 快捷键说明

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