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

📄 serverdrawview.h

📁 《Visual C++.NET MFC类库应用详解》程序实例
💻 H
字号:
// ServerDrawView.h : CServerDrawView 类的接口
//


#pragma once


class CServerDrawView : public CScrollView
{
protected: // 仅从序列化创建
	CServerDrawView();
	DECLARE_DYNCREATE(CServerDrawView)
protected:
    int m_Drag;
    HCURSOR m_HCursor;
    CPoint m_pPrev;
    CPoint m_pOrigin;

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

// 操作
public:

// 重写
public:
	virtual void OnDraw(CDC* pDC);  // 重写以绘制该视图
    virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:

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

protected:

// 生成的消息映射函数
protected:
	afx_msg void OnCancelEditSrvr();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	virtual void OnInitialUpdate();
	afx_msg void OnOlebusydialog();
	afx_msg void OnOlechangeicondialog();
	afx_msg void OnOlelinksdialog();
};

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

⌨️ 快捷键说明

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