-
一种可变的掩模操作算子,在做图像掩模操作和实用!
一种可变的掩模操作算子,在做图像掩模操作和实用!-a variable mask Operator, doing image mask operation and practical!
- 2022-10-06 06:10:03下载
- 积分:1
-
编程设备
外设编程――对特殊鼠标事件识别的Vc++实例源代码 -Programming peripherals- mouse events of special recognition Vc++ example source code
- 2023-04-03 17:55:04下载
- 积分:1
-
在开始菜单或桌面上建立快捷方式,方便用户使用快捷地启动软件...
在开始菜单或桌面上建立快捷方式,方便用户使用快捷地启动软件-the desktop or Start menu to establish efficient, fast and user-friendly software to launch
- 2022-07-13 04:54:01下载
- 积分:1
-
这个VB环境下的动态绘制贝塞尔曲线的实例代码,希望对初学者有帮助。
这是在VB环境下实现动态绘制贝塞尔曲线的事例代码,希望对喜欢的朋友有用-This the VB environment dynamic mapping Bessel curve code examples, and I hope to the likes useful friends
- 2022-03-14 11:03:26下载
- 积分:1
-
笔者在开发县级电网调度自动化系统的过程中,碰到一个要绘制电力系统一次接线图的问题。由于电力系统一次接线图比较复杂,图上有一
些特殊的符号,象变压器符号、开...
笔者在开发县级电网调度自动化系统的过程中,碰到一个要绘制电力系统一次接线图的问题。由于电力系统一次接线图比较复杂,图上有一
些特殊的符号,象变压器符号、开关符号等等,用一般的编程方法来绘制比较困难,因此,笔者用C语言开发了一个手工绘制电力系统一次接线图
的键盘绘图程序,使用该程序绘制的一次接线图符合用户需求,效果良好。
2.使用方法
程序中定义了几个特殊键:
"V”:画笔提起
"W”:开始画图
"R”:开始擦图
"S”:当前图形存入文件
"E”:调出已有文件
"C”:画圆
程序一运行,屏幕上出现一个黄色的边框来设定画图的区域,区域中间出现提起的画笔符号 ,当按下”W“键时,画笔符号变为 ,此时可移动方向键(上、下、左、右、左上、左下、右上、右下)来画图;当按下”R“键时,画笔符号变为 ,此时可移动方向键来擦图;在画图过程中,按下“C”键,可画出一个半径为20个象素点的圆;当结束画图时,按下“S”键,将画好的图形存盘;按下“E”键可调出已有的图形进行编辑。-c
- 2022-05-21 20:17:39下载
- 积分:1
-
HIT VC++ curriculum design drawing board of the Design and Implementation
哈工大 VC++ 课程设计 画图板的设计与实现-HIT VC++ curriculum design drawing board of the Design and Implementation
- 2022-03-20 14:09:15下载
- 积分:1
-
vc developed a drawing program, applies to the railway map of the battlefield si...
vc开发的一款绘图程序,应用于铁路战场图的模拟,实现了绘图的基本功能,适合初学者参考(未连数据库)-vc developed a drawing program, applies to the railway map of the battlefield simulation, realize the basic functions of the drawings, suitable for beginners and a reference (not even the database)
- 2022-03-24 07:05:45下载
- 积分:1
-
在对话框滚动显示真彩色位图,支持BMP文件
在对话框滚动显示真彩色位图,支持BMP文件-rolling in the dialog box shows true color bitmap, BMP file
- 2022-02-14 11:31:25下载
- 积分:1
-
- 2022-01-25 14:40:57下载
- 积分:1
-
Environment: VC6 Win2K/NT/98 This sample describes the difference between CONSOL...
Environment: VC6 Win2K/NT/98
This sample describes the difference between CONSOLE and GUI applications with 20 lines of code.
There are 2 small projects in this sample. The first project shows how to create a console in WinMain(). First of all, we need to allocate a console with AllocConsole() secondly, we in turn retrieve the operating system handle (GetStdHandle), run-time handle (_open_osfhandle), stream (_fdopen) and standard stream (stdout) finally, we can call functions like printf() and scanf().
The second project demonstrates how to create a window in main(). I created an edit box in a separate thread, so that you can control this window from the console. I retrieved the module handle through GetModuleHandle(), and then I called CreateWindow with the predefined class name EDIT.
As you can see, there is not much essential difference between console and GUI applications, even though VC requires us to indicate the type of the application when you create a p
- 2022-02-03 12:24:58下载
- 积分:1