-
VC++ 6.0简单屏幕画笔源代码
VC++ 6.0简单屏幕画笔源代码 ,可以让用户直接在屏幕的任意地方写字,仿画图的功能,不过这个不是在指定的画图窗口中才能画出图形,而是打开后,在屏幕的任意地方都可以。而且还可以设置画笔的颜色,有四种颜色可选,还可设置画笔粗细等功能。以下请看画笔的设置部分代码:
void CMyWnd::OnRed()//选中绿色
{
ColorX=255;
ColorY=0;
ColorZ=0;
}
void CMyWnd::OnYellow()//选中黄色
{
ColorX=255;
ColorY=255;
ColorZ=0;
}
void CMyWnd::OnGreen() //选中绿色
{
ColorX=0;
ColorY=255;
ColorZ=0;
}
void CMyWnd::OnBlue() //选中蓝色
{
ColorX=0;
ColorY=0;
ColorZ=255;
}
void CMyWnd::OnAdd() //增加画笔大小
{
ADxy+=1;
}
void CMyWnd::OnDec() //增加画笔大小
{
if (ADxy!=1)
ADxy-=1;
}
void CMyWnd::OnAbout() //增加画笔大小
{
//AfxMessageBox("你好");
//显示关于对话框
CLjxDlg dlg;
int xxx=dlg.DoModal();
}
- 2022-11-18 14:20:03下载
- 积分:1
-
EYE
利用Zernike多项式来描述人眼眼底波前畸变的matlab程序,其中还有PSF和MTS的计算,PPT的详细讨论,非常游泳(The use of Zernike polynomials to describe the human eye fundus wave-front aberration of matlab procedures, including PSF and MTS calculation, PPT detailed discussion, very Swimming)
- 2009-03-05 10:22:15下载
- 积分:1
-
SAR
用matlab仿真SAR方向图,并且实现主波束在一定角度范围内扫描的过程。(Simulating SAR pattern with MATLAB .The scanning process of the main beam in a certain angle range is realized.)
- 2019-01-19 15:07:14下载
- 积分:1
-
新建 Microsoft Word 文档
这个是基于stm32的一系列开发产品,多功能多时效多应用(I loved the first time that Satan sent out a lot of VV ah multi-point algorithm.)
- 2019-04-22 11:38:39下载
- 积分:1
-
回溯算法中的圆排列问题
回溯算法中的圆排列问题-backtracking algorithm with a round of the problem
- 2022-07-19 12:24:57下载
- 积分:1
-
Meanshift in the video track on the application of the doctoral thesis, a relati...
有关meanshift在视频跟踪方面应用的博士论文,比较新-Meanshift in the video track on the application of the doctoral thesis, a relatively new
- 2023-04-15 21:15:04下载
- 积分:1
-
h
说明: 求数据的平均值,滑动平均,卡尔曼滤波估计(mean,smooth average ,kalman filter)
- 2019-12-19 20:34:25下载
- 积分:1
-
this is on the quantification of specific details in English, introduced in grea...
这个是有关于量化的具体介绍是英文版的,介绍的很详细-this is on the quantification of specific details in English, introduced in great detail
- 2022-07-12 23:23:16下载
- 积分:1
-
wenjianmanager
An Android File Manager source code that supports decompression can also be used for routine operations such as copying, moving, deleting and renaming. When compressing files, they can only be compressed into ZIP format, not rar format. Decompression also supports ZIP format tightly. Source code has more detailed annotations.
- 2020-06-22 19:40:02下载
- 积分:1
-
RTC_Tamper
STM32防拆程序,对于需要防拆的设备可以参考(STM32 anti demolition procedures, for the need for anti demolition equipment, you can refer to)
- 2021-04-29 11:28:43下载
- 积分:1