function.h
来自「一个简单的画图程序 可以画点线面等」· C头文件 代码 · 共 28 行
H
28 行
// Function.h: interface for the CFunction class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FUNCTION_H__4FDA9EB5_4B48_4F49_89D5_6D5518FF9A13__INCLUDED_)
#define AFX_FUNCTION_H__4FDA9EB5_4B48_4F49_89D5_6D5518FF9A13__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CFunction
{
public:
int GetID();
void SetID(int id);
CFunction(int id=-1);
virtual ~CFunction();
virtual void OnLButtonDown(UINT nFlags, CPoint point)=0;
virtual void OnLButtonUp(UINT nFlags, CPoint point)=0;
virtual void OnMouseMove(UINT nFlags, CPoint point)=0;
protected:
int ID;
};
#endif // !defined(AFX_FUNCTION_H__4FDA9EB5_4B48_4F49_89D5_6D5518FF9A13__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?