搜索资源列表
8.15 颜色拾取器
- 本程序实现了图像颜色的拾取,当鼠标点到的地方,在窗体的文本框中就会显示该象素的rgb值以及hsl值-realized by the color of the images picked up when the mouse to the point where, in the form of text box will show that the pixel value and the rgb values hsl
GraphicTest
- 图形的绘制,如何使用自定义画笔(颜色,线宽,线形)。如何为程序中添加选项菜单和选项设置对话框,如何使用标准颜色对话框,如何使用字体对话框,在选项对话框中实现预览功能。实现选项对话框和窗口类中的数据交换。如何改变对话框和控件的背景色,如何改变控件的文本颜色,对按钮控件的特殊处理。如何在窗口中显示一幅位图。-graphics rendering, since the definition of how to use the brush (color, line width, alignment).
VC6_draw
- 6.0关于绘图的程序设计,图形的绘制,如何使用自定义画笔(颜色,线宽,线形)。如何为程序中添加选项菜单和选项设置对话框,如何使用标准颜色对话框,如何使用字体对话框,在选项对话框中实现预览功能。实现选项对话框和窗口类中的数据交换。如何改变对话框和控件的背景色,如何改变控件的文本颜色,对按钮控件的特殊处理。如何在窗口中显示一幅位图。-6.0 on the graphics programming, graphics rendering, since the definition of how to
TrailMousePos
- 在程序设计中需要随时知道鼠标的位置,如photoshop和画图板中都有这一功能。本程序实现了如何追踪鼠标的位置。编译并运行本程序,不停地移动鼠标,对话框中显示鼠标位置的文本也会随时更新,达到追踪鼠标位置的目的。-in program design needs to be kept aware of the location of the mouse, If photoshop drawing board and have all the functions. The realization of
MFC对话框程序开发的颜色渐变的进度条
- 一个MFC对话框程序开发的颜色渐变的进度条,可以显示文字和百分比,Development of a MFC dialog box of the color gradient of the progress bar, you can display text and the percentage of
SaveBmp
- 在对话框中static的文本框中绘制图片的并能保存成BMP图片-In the dialog box drawing static text box and can save images into BMP images
files
- INI文件读取,不用控件使用API处理,让INI文件读取到VB文本框中-INI file to read, do not control the use of API to deal with, so read the INI file to the VB text box
TrafficLight
- 交通信号灯,可根据文本框输入的通行时间和调整时间运行-Traffic lights, according to the text box to enter the passage of time and adjust the time to run
DataShowClass
- 主要功能: 1.动态显示数据。在类中定义了两个大小为2000的double型数值。可显示小于2000组的X,Y数据。动态显示的原理为实时更新数据。只要更新x,y数据,在显示界面就会及时显示。 2.数据捕捉功能。当鼠标靠近数据点时,十字线会绘制一个红色的矩形捕捉框。 3.支持曲线平移,缩放,网格开关,时间显示以及文字说明。平移时,按住右键拖动鼠标;缩放时按住鼠标中键拖动鼠标。 4.支持颜色设置,具体可看弹出菜单。双击鼠标右键,弹出菜单可进行相应的操作。 5.类主要封装了一些设置
IEditor
- 功能和界面全部模仿于Windows自带的画图板,界面如截图。功能主要有: 手绘线、简单图形、文字输入、图块拖放、重复撤销、画面缩放、打开保存图片文件,另外为了直接从数据库或者XML中存取图片,另外还提供了从Base64编码存取图片的接口,其他还实现了和画图板同样效果的工具箱及颜料盒-Function and interface of all the imitation in Windows onboard drawing board, interface such as screenshots.
VC-to-achieve-self-drawn-list-box
- Visual C++语言提供了Windows环境丰富多采的界面控制元素,列表框就是其中最重要之一,在许许多多的软件系统中,列表框的运用既使界面生动美观,又大大的简化了用户的操作。然而,美中不足的是 Visual C++语言仅提供基于文本的列表框操作,在实际编程中,很多情况我们需要进行自绘列表框的设计,以达到特殊的操作效果,如MSPublisher软件的新版本中,采用了图象列表的方式供用户选择要打开的图象,用户可以先在列表框中简单的浏览一下图象的大致内容,再决定是否打开图象文件。-Visual C
dc
- 图形的绘制,如何使用自定义画笔(颜色,线宽,线形)。如何为程序中添加选项菜单和选项设置对话框,如何使用标准颜色对话框,如何使用字体对话框,在选项对话框中实现预览功能。实现选项对话框和窗口类中的数据交换。如何改变对话框和控件的背景色,如何改变控件的文本颜色,对按钮控件的特殊处理。如何在窗口中显示一幅位图。-Graphics rendering, and how to use a custom brush (color, line width, line). How to add the optio
Display-Bitmap
- 通过三种方法将位图文件显示在指定客户区或者指定的静态文本框中,编辑框中。-Bitmap file displayed on specifid client area,static text or edit box in three ways.
Hex2Jpg
- 将JPG以二进制文件读出,并用十六进制显示到文本框; 将文本框中的十六进制数据转换成JPG图片文件; 并显示图片,图片显示采用GDI+库。-JPG to read binary files, and hexadecimal display into the text box Convert hexadecimal data in a text box into JPG image file And display pictures, pictures showed using GDI+ li