-
thequalityofcprogramming
C++/C编程指南丛书---高质量编程
看过后大受启发
(C++/C Programming Guide--- Series of high-quality programming large inspired after reading)
- 2007-11-30 16:36:28下载
- 积分:1
-
VC++透明窗口效果的电子标尺源代码
VC++透明窗口效果的电子标尺源代码
屏幕测量类:
CMeasure : public CWnd测量基类
方法:
//创建透明窗口,做公共初始化
CreateMeasure(虚拟)
//以当前鼠标点为基准输出信息
virtual void CMeasure::ExportInfo(CString str, CDC *pDC, CPoint point)
//消息处理函数
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 DrawLButtonDown(UINT nFlags, CPoint point);
//移动鼠标时绘图,绘制十字定位线
virtual void DrawMouseMove(UINT nFlags, CPoint point);
属性:
CDC m_dcMem;保存临时背景供恢复用
CWnd* m_pWndParent;父窗口指针
int m_nScreenWidth;屏幕参数
int m_nScreenHeight;
CPen m_Pen;用于绘图的笔
COLORREF m_colorFont; 用于记录绘图时的元素颜色
COLORREF m_colorTag;
COLORREF m_colorLine;
CMeasureLine : public CMeasure测量两点直线的类
方法:
CreateMeasure(虚拟)
virtual void DrawLButtonDown(UINT nFlags, CPoint point);
virtual void DrawMouseMove(UINT nFlags, CPoint point);
属性:
BOOL m_bSecond;是否是已点击一次
- 2022-03-01 01:45:04下载
- 积分:1
-
代码
说明: 利用java语言进行的复数的简单的加减乘除的运算(Simple addition, subtraction, multiplication and division of complex numbers using java language)
- 2020-06-23 16:20:02下载
- 积分:1
-
对雷达网的多机伴随式协同干扰技术研究_张养瑞
认知电子战的研究文章,,多机伴随干扰技术(Research Articles on Cognitive Electronic Warfare)
- 2021-04-14 21:28:55下载
- 积分:1
-
API(keyboard and mouse)
Labview使用API方式调用Windows的鼠标键盘(Labview calls Windows mouse keyboard using API)
- 2019-04-27 15:47:07下载
- 积分:1
-
水质模糊综合评价系统 水质模糊综合评价系统
水质模糊综合评价系统 水质模糊综合评价系统
- 2022-06-29 07:11:03下载
- 积分:1
-
NNUTIL
MOUSEG的NORTON GUIDES(MOUSEG of NORTON GUIDES)
- 2007-04-11 22:04:05下载
- 积分:1
-
svkjbt
Spring Create a simple bean example()
- 2018-05-14 14:57:16下载
- 积分:1
-
模糊数学
说明: 该方法针对权重未知,属性值为区间数,对方案有偏好的多属性决策问题,运用基于相离度的方法来求出属性权重,然后用可能度法对区间数进行比较,实现对方案的排序(In this method, for the multi-attribute decision-making problem with unknown weight and interval number as attribute value and preference for scheme, the attribute weight is calculated based on the method of distance degree, and then the interval number is compared with the method of possibility degree to realize the scheme sorting)
- 2019-11-27 20:56:46下载
- 积分:1
-
Surveying-Adjustment-Program-Design
《测量平差程序设计》(宋力杰编著)一书的源码(" Surveying Adjustment Program Design" (Song Lijie eds) source)
- 2013-07-23 23:28:23下载
- 积分:1