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

📄 pointtool.cpp

📁 此程序实现了类似protel电路画图程序。
💻 CPP
字号:
// PointTool.cpp: implementation of the CPointTool class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Pointtest.h"
#include "PointTool.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CPointTool::CPointTool(CWnd* cWnd,CElist* pList,CPointList* pOintList,CLineList* pLineList)
		:CBaseTool(cWnd,pList,pOintList,pLineList)
{
	m_sigle = NULL;
}

CPointTool::~CPointTool()
{

}
void CPointTool::OnLButtonDown(UINT nFlags, CPoint point)
{
	CanDraw = TRUE;

}
void CPointTool::OnLButtonUp(UINT nFlags, CPoint point)
{
	if(!CanDraw) return;
	CanDraw = FALSE;

}
void CPointTool::OnMouseMove(UINT nFlags, CPoint point)
{

}

⌨️ 快捷键说明

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