-
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
-
VB客户电话号码查询系统
VB客户电话号码查询系统,Access数据库,电话模块; 多条件电话,客户对应电话号码的查询程序,可修改成基于VB版的客户管理系统,本系统原型是一个维修保养技术服务公司的客户电话号码查询应用系统,程序拥有查询模块和客户电话号码添加及管理模块。
- 2023-06-18 08:25:03下载
- 积分:1
-
运用asp知识设计在线投票系统
运用asp知识设计在线投票系统-use asp design knowledge online voting system
- 2022-07-02 23:11:13下载
- 积分:1
-
本压缩文件是关于windows xp优化大师的七十项REG文件
本压缩文件是关于windows xp优化大师的七十项REG文件-the compressed files on the windows xp optimize the master document 70 REG
- 2023-01-03 23:05:04下载
- 积分:1
-
项目时间跟踪
项目时间跟踪-time tracking project
- 2022-03-23 08:07:57下载
- 积分:1
-
LEX之C0语言词法分析器
输入文件是任何一个目录下的文件格式的C0语言程序段,
输出文件是以xml格式表示的词法分析的结果,
程序将输入文件作为输入,扫描、分解字符串,识别出一个个单词(定义符、标识符、运算符、界符、常数),将分析结果输出到输出文件。
- 2022-10-23 16:00:03下载
- 积分:1
-
支持多级子菜单的展开菜单代码
支持多级子菜单的展开菜单,由JavaScript代码实现的多级菜单,第一个是竖向排列,向右展开的菜单,下边那个是向下展开,二级再向右展开的多级联动菜单,在IE8下测试通过,其它浏览器环境下未做测试,应该也可以吧,本菜单主要是用来学习的。
- 2022-03-05 18:08:47下载
- 积分:1
-
多台计算机在研究中,看它实现
好多计算机方面的研究 与 实现 大家看看吧 -many computers in the study and look at it to realize
- 2023-04-01 02:30:03下载
- 积分:1
-
As the source code name, this code is writing in Verilog and also inside the fol...
As the source code name, this code is writing in Verilog and also inside the folder there is a c code to see the simulation results from verilog.
- 2022-03-25 06:31:05下载
- 积分:1
-
M3GExport enables developers to export complex 3D animated scenes from Maya®...
M3GExport enables developers to export complex 3D animated scenes from Maya® directly to Mobile 3D Graphics file format (M3G), the emerging 3D file format for mobile 3D games.
Created by the developers of JBenchmark3D - the leading performance measurement tool for mobile 3D graphics, M3GExport lets use sophisticated features of M3G format like skeletal animation, morphing meshes, triangle stripping and other useful optimisations.
M3GExport for Maya is available in two editions, Limited and Standard.
The Standard version contains sophisticated optimisation options used mostly by commercial game developers.-M3GExport enables developers to export complex 3D animated scenes from Maya® directly to Mobile 3D Graphics file format (M3G), the emerging 3D file format for mobile 3D games.
Created by the developers of JBenchmark3D- the leading performance measurement tool for mobile 3D graphics, M3GExport lets use sophisticated features of M3G format like skeletal animation,
- 2023-04-22 16:15:03下载
- 积分:1