LineTool.h
资源名称:CAD.zip [点击查看]
上传用户:hehe2haha
上传日期:2013-08-16
资源大小:161k
文件大小:1k
源码类别:
CAD
开发平台:
Visual C++
- // LineTool.h: interface for the CLineTool class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_LINETOOL_H__9DF7214A_2107_410C_9091_4E37D6B71A73__INCLUDED_)
- #define AFX_LINETOOL_H__9DF7214A_2107_410C_9091_4E37D6B71A73__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Tool.h"
- class CLineTool : public CTool
- {
- public:
- CLineTool();
- virtual ~CLineTool();
- virtual void OnMouseMove(HWND hWnd, UINT nFlags, POINT ptPos);
- virtual void OnRButtonDown(HWND hWnd,UINT nFlags, POINT ptPos);
- virtual void OnLButtonDown(HWND hWnd,UINT nFlags, POINT ptPos);
- };
- #endif // !defined(AFX_LINETOOL_H__9DF7214A_2107_410C_9091_4E37D6B71A73__INCLUDED_)