-
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
-
xHTML
一个HTML文件是一页文字信息,就象一封电子邮件或一个word字处理文档,而且实际上你完全可以使用Word字处理软件来编写一个HTML网页。你也可以通过其它字处理软件编写文本文件,网络浏览器只能处理文本信息。
(An HTML file is a text message, an email or a word as word processing documents, and in fact you to write a complete HTML page can use Word word processing software. You can also write a text file by other word processing software, web browsers can handle only text messages.)
- 2016-10-18 09:09:10下载
- 积分:1
-
Skyblue_Mine
扫雷一只小游戏,模拟windows系统的自带游戏,用C++实现
(Mine-sweeping a smart game)
- 2013-04-15 15:59:42下载
- 积分:1
-
bcjrforcpm
用bcjr算法对cpm连续相位调制进行译码的程序,按照IEEE leter 2000年文章写的(Cpm with bcjr algorithm for continuous phase modulation decoding process, in accordance with IEEE leter 2000 writing the article, written by)
- 2021-01-05 17:58:54下载
- 积分:1
-
选择类问题优化算法
说明: 选择类问题优化算法,启发式仿生类优化算法(An optimization algorithm based on problems of sample selection)
- 2020-06-21 15:40:02下载
- 积分:1
-
IEC61850应用入门 [何磊 编著] 2012年版
说明: 《IEC61850应用入门》是一本帮助读者理解、掌握IEC61850知识内容和思想精髓的参考书。全书共分五章:第一章简单介绍常规变电站自动化系统的不足,主要介绍了IEC61850标准的内容、特点和发展趋势;第二章介绍面向对象的基本概念,OSI、TCP/IP网络模型,以太网技术基础,XML、XMLSchema基础和常用软件工具;第三章介绍IEC61850的分层信息模型、具体定义、配置方式与配置文件;第四章主要介绍MMS基础知识、IEC61850与MMS的映射关系、MMS与ASN.1编解码和MMS典型报文分析;第五章介绍GOOSE服务、IEC61850—9—2SV服务、简单网络时间协议和IEEE1("Introduction to IEC61850 application" is a reference book to help readers understand and master the knowledge content and ideological essence of IEC61850. The whole book is divided into five chapters: the first chapter briefly introduces the shortcomings of conventional substation automation system, mainly introduces the content, characteristics and development trend of IEC61850 standard; the second chapter introduces the basic concept of object-oriented, OSI, TCP / IP network model, Ethernet technology foundation, XML, XML schema foundation and common software tools; the third chapter introduces the layered information model and specific definition of IEC61850 , configuration mode and configuration file; Chapter 4 mainly introduces MMS basic knowledge, mapping relationship between IEC61850 and MMS, MMS and ASN. 1 encoding and decoding and MMS typical message analysis; Chapter 5 introduces goose service, iec61850-9-2sv service, simple network time protocol and ieee1)
- 2021-02-16 23:19:46下载
- 积分:1
-
是一篇关于时频分析的外国论文,内容比较多,是硕士论文,比较难找的,里面有不少方法...
是一篇关于时频分析的外国论文,内容比较多,是硕士论文,比较难找的,里面有不少方法-Are about a time-frequency analysis of the foreign papers, more content is the Master" s thesis, more difficult to find, and there are many methods
- 2022-01-26 06:22:16下载
- 积分:1
-
SSB_imaging
说明: 双边带调制,这里是光生毫米波现象,用pd探测,一路光经过调制(DSB modulation, this is optical generation with detection of pd. one of two lasers is modulated.)
- 2019-06-13 22:01:08下载
- 积分:1
-
_Python_Part_
说明: 交通仿真模拟,道路模型,车辆模型,驾驶模式模型(Traffic simulationRoad model, vehicle model, driving mode model)
- 2020-05-20 14:20:09下载
- 积分:1
-
ddcf
说明: Five level neutral point clamped converter(Five level neutral point clamped converter dvf)
- 2020-06-24 16:20:02下载
- 积分:1