You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
570 B
C++
20 lines
570 B
C++
#pragma once
|
|
#include "mousetool.h"
|
|
class CMouseToolCopy :public CMouseTool
|
|
{
|
|
public:
|
|
CMouseToolCopy(void);
|
|
~CMouseToolCopy(void);
|
|
virtual void OnLButtonDown(UINT nFlags, CPoint point,CClientDC &dc);
|
|
virtual void OnLButtonUp(UINT nFlags, CPoint point,CClientDC &dc);
|
|
virtual void OnMouseMove(UINT nFlags, CPoint point,CClientDC &dc);
|
|
virtual void OnEscapeKey();
|
|
virtual bool OnSetCmd(CString str);
|
|
virtual void OperateOver();
|
|
private:
|
|
Dbxy m_BasePoint;//»ù×¼µã
|
|
double m_MoveDisX;
|
|
double m_MoveDisY;
|
|
};
|
|
|