-
DrawOfMemory
DrawOfMemory源码包,VC++内存绘图例子代码,包括了多个实用的VC++函数:比如DrawLine函数:将传入函数的值以图像的形式显示到对应的控件上(int AllNum:总的数据量,int Value[]:数据值数组,COLORREF PenColor:画笔的颜色,CWnd *pWnd:需要显示曲线的控件指针);DrawWave函数,将传进函数的值以图像的形式显示到对应的控件上;DrawMultiLine函数:将传进函数的值以图像的形式显示到对应的控件上,可以显示多个数据段。参数定义:
int Mult:总共需要显示几类数据
int AllNum:每类数据总的数据量
int Value[]:数据值数组,组成形式:数据1+数据2+数据3+ ...
COLORREF PenColor:每类数据的画笔的颜色
CWnd *pWnd:需要显示曲线的控件指针
还有一些函数不一一列举了,请自行下载源码查看(DrawOfMemory source package, VC++ memory mapping code examples, including a number of practical VC++ function: for example DrawLine function: the value passed to the function displayed in the form of the image to the corresponding controls (int AllNum: the total amount of data, int Value []: an array of data values , COLORREF PenColor: brush color, CWnd* pWnd: need to show the curve control pointers) DrawWave function, will pass into the function value is displayed in the form of an image to the corresponding controls DrawMultiLine function: the passed into the function value is displayed in the form of an image to the corresponding control, you can display multiple data segments. Parameters are defined:
int Mult: A total of several types of data to be displayed
int AllNum: total amount of data for each type of data
int Value []: an array of data values , consisting of forms: Data 1 Data 2+ 3+ ...+ data
COLORREF PenColor: brush color for each type of)
- 2014-07-02 10:52:43下载
- 积分:1
-
HDG12864F-3LCDDriver
HDG12864F-3的液晶驱动,有Protues硬件仿真图,方便初学者参考(HDG12864F-3 LCD driver, a Protues hardware simulation map, easy reference for beginners)
- 2010-08-13 09:43:14下载
- 积分:1
-
Managed.DirectX.9
说明: DirecX 教程书籍,用于开发DirecX Graphic and Programming book(DirecX guide books for the development and DirecX Graphic Programming book)
- 2006-04-07 09:59:53下载
- 积分:1
-
STemWin5.20+FreeRTOS+Fatfs+STM32
STemWin5.20+FreeRTOS+Fatfs+STM32 主要在stm32的平台上实现freertos 以及显示 文件管理基础 功能
- 2022-07-21 19:20:14下载
- 积分:1
-
C# treeView节点动态删除和添加示例
C# treeView节点动态删除和添加示例,本源码演示了创建一个treeView父节点,创建了三个子节点,然后演示了将这3个子节点添加到父节点中,最后演示了使用Remove方法移除指定的TreeView节点项,添加节点和删除节点定义了两个按钮事件,用户通过单击按钮,激活事件,两个事件的编写方法如下:
private void Form1_Load(object sender, EventArgs e)
{
//建立一个父节点
TreeNode tn1 = treeView1.Nodes.Add("名称");
//建立3个子节点
TreeNode Ntn1 = new TreeNode("明日科技");
TreeNode Ntn2 = new TreeNode("C#编程词典");
TreeNode Ntn3 = new TreeNode("C#从基础到项目实战");
//将这3个子节点添加到父节点中
tn1.Nodes.Add(Ntn1);
tn1.Nodes.Add(Ntn2);
tn1.Nodes.Add(Ntn3);
}
private void button1_Click(object sender, EventArgs e)
{
//如果用户选择了“名称”证明没有选择要删除的子节点
if (treeView1.SelectedNode.Text == "名称")
{
MessageBox.Show("请选择要删除的子节点"); //弹出选择删除节点的提示
}
else
{
treeView1.Nodes.Remove(treeView1.SelectedNode);//使用Remove方法移除选择项
}
}
- 2023-07-29 02:55:08下载
- 积分:1
-
AT070TN83
at070tn83 800x480 tft lcd verilog 測試 quartus 文件 (800x480 tft lcd at070tn83 testing project file)
- 2020-12-07 15:39:21下载
- 积分:1
-
weiwenwu
MFC实现文件传输,望有志者增加多线程的功能(MFC to achieve file transfer, and hopes to increase multi-threading features people with lofty ideals)
- 2009-10-23 16:18:19下载
- 积分:1
-
eigen-QR
C++矩阵QR分解方法,同时求出对应的特征值和实特征值对应的特征向量(QR for solving the eigenvalues and eigenvectors)
- 2020-08-31 00:38:09下载
- 积分:1
-
第十届飞思卡尔国赛光电组一等奖源代码
飞思卡尔光电组国赛一等奖,给学习者提供很好的帮助。
- 2022-10-24 21:30:03下载
- 积分:1
-
NW
说明: 复杂网络,小世界网络NW的C++代码,并求了其度分布。(Networks, small world network NW in C++ code, and find out the degree distribution.)
- 2010-12-31 19:51:39下载
- 积分:1