首页 开发技术 C++     /    VC++界面编程之实现一个画板并提供文字输入功能MsPaint

VC++界面编程之实现一个画板并提供文字输入功能MsPaint

上传者: renstarone | 上传时间:2024/7/16 0:43:47 | 文件大小:282KB | 文件类型:zip
VC++ 画板程序 pB9aZJcwSt
VC++界面编程之实现一个画板并提供文字输入功能MsPaint
画板的实现非常有趣,首先要新建一张HBITMAP来保存原来的绘制内容,然后需要创建一个可拉伸的输入框,供用户输入文字。
必要时还得提供UnDo功能,供用户取消上一次绘制的功能。
利用业余时间,我制作了一个画板程序,包含了以下几个功能:1.可动态拉伸及移动位置的编辑框,供用户输入文字。
2.可画直线,圆圈,箭头,线段及线条。
3.可使用CTRL+Z组合键,撤销上一次的绘制。
原文博客:http://blog.csdn.net/renstarone/article/details/19901585">画板的实现非常有趣,首先要新建一张HBITMAP来保存原来的绘制内容,然后需要创建一个可拉伸的输入框,供用户输入文字。
必要时还得提供UnDo功能,供用户取消上一次绘制的功能。
利用业余时间,我制作了一个画板程序,包含[更多]

文件下载

资源详情

[{"title":"(26个子文件282KB)VC++界面编程之实现一个画板并提供文字输入功能MsPaint","children":[{"title":"PaintWindow_Test","children":[{"title":"PaintWindow_Test.sln <span style='color:#111;'>914B</span>","children":null,"spread":false},{"title":"PaintWindow_Test.suo <span style='color:#111;'>129.00KB</span>","children":null,"spread":false},{"title":"PaintWindow_Test","children":[{"title":"Canvas.h <span style='color:#111;'>11.61KB</span>","children":null,"spread":false},{"title":"MainDlg.h <span style='color:#111;'>6.42KB</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>832B</span>","children":null,"spread":false},{"title":"PaintWindow_Test.vcproj.PC111.Administrator.user <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"PaintWindow_Test.cpp <span style='color:#111;'>1.67KB</span>","children":null,"spread":false},{"title":"CanvasWnd.h <span style='color:#111;'>6.43KB</span>","children":null,"spread":false},{"title":"PaintWindow_Test.vcproj.MING.Administrator.user <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"PaintWindow_Test.aps <span style='color:#111;'>29.87KB</span>","children":null,"spread":false},{"title":"ResizeCtrl.h <span style='color:#111;'>15.04KB</span>","children":null,"spread":false},{"title":"PaintWindow_Test.h <span style='color:#111;'>23B</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>1.43KB</span>","children":null,"spread":false},{"title":"PaintWindow_Test.rc <span style='color:#111;'>8.36KB</span>","children":null,"spread":false},{"title":"CustomFont.h <span style='color:#111;'>1.88KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"BTN_GREEN.PNG <span style='color:#111;'>12.22KB</span>","children":null,"spread":false},{"title":"PaintWindow_Test.ico <span style='color:#111;'>1.05KB</span>","children":null,"spread":false}],"spread":false},{"title":"AboutDlg.h <span style='color:#111;'>1.02KB</span>","children":null,"spread":false},{"title":"Release","children":[{"title":"PaintWindow_Test.exe <span style='color:#111;'>182.50KB</span>","children":null,"spread":false}],"spread":false},{"title":"PaintWindow_Test.vcproj <span style='color:#111;'>5.69KB</span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>293B</span>","children":null,"spread":false},{"title":"PaintWindow_Test.exe <span style='color:#111;'>182.50KB</span>","children":null,"spread":false},{"title":"BitmapEdit.h <span style='color:#111;'>7.52KB</span>","children":null,"spread":false},{"title":"GdiplusHelper.h <span style='color:#111;'>10.41KB</span>","children":null,"spread":false},{"title":"CustomButton.h <span style='color:#111;'>11.89KB</span>","children":null,"spread":false},{"title":"GDIHelper.h <span style='color:#111;'>2.64KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • eternity1994525:
    绘图功能比较单一2015-01-11

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明