MFC 截图 操作详解 dome

上传者: 17242957 | 上传时间: 2021-05-19 15:30:41 | 文件大小: 30.04MB | 文件类型: ZIP
/*********************************************** //*******************截图操作汇总***************/ //************************************************/ /* 1. CDC dc; dc.CreateDC(_T("DISPLAY"), NULL, NULL, NULL); //创建dc 2. memDC.CreateCompatibleDC(&dc); //创建与当前DC兼容的内存DC 3. memBitmap.CreateCompatibleBitmap(&dc, rect.Width(),rect.Height()); //创建一块指定大小的位图 4. oldmemBitmap = memDC.SelectObject(&memBitmap); // 将该位图选入到内存DC中 memDC 5. memDC.BitBlt(0, 0, rect.Width(),rect.Height(), &dc,left, top, SRCCOPY); // 将图形dc拷贝到一个目标memDC中 最后进行 BMP文件存取(BMP图像文件被分成4个部分:位图文件头(Bitmap File Header)、位图信息头(Bitmap Info Header)、颜色表(Color Map)和位图数据(即图像数据,Data Bits或Data Body)。) */

文件下载

资源详情

[{"title":"( 61 个子文件 30.04MB ) MFC 截图 操作详解 dome","children":[{"title":"截图DOME","children":[{"title":"截图需要的类文件.zip <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"截图 对话框","children":[{"title":"Debug","children":[{"title":"SavePicture","children":[{"title":"ScreenPic.bmp <span style='color:#111;'> 661.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"Addtion.pdb <span style='color:#111;'> 5.01MB </span>","children":null,"spread":false},{"title":"Addtion.exe <span style='color:#111;'> 155.50KB </span>","children":null,"spread":false},{"title":"Addtion.ilk <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false}],"spread":true},{"title":"ipch","children":[{"title":"dialog-b9ba1bf9","children":null,"spread":false}],"spread":true},{"title":"Dialog.suo <span style='color:#111;'> 27.00KB </span>","children":null,"spread":false},{"title":"Dialog","children":[{"title":"resource.h <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 7.25KB </span>","children":null,"spread":false},{"title":"Addtion_manifest.rc <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 141.15KB </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 1.96MB </span>","children":null,"spread":false},{"title":"Dialog.log <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"Addtion.exe.embed.manifest <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 11.01KB </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 7.16KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"DialogDlg.obj <span style='color:#111;'> 54.79KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 3.30MB </span>","children":null,"spread":false},{"title":"Addtion.exe.intermediate.manifest <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"bmpScreen.obj <span style='color:#111;'> 9.81KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false},{"title":"TiDlg.obj <span style='color:#111;'> 23.67KB </span>","children":null,"spread":false},{"title":"Addtion.lastbuildstate <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"Addtion.exe.embed.manifest.res <span style='color:#111;'> 980B </span>","children":null,"spread":false},{"title":"Addtion.pch <span style='color:#111;'> 32.06MB </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 822B </span>","children":null,"spread":false},{"title":"Dialog.obj <span style='color:#111;'> 28.85KB </span>","children":null,"spread":false},{"title":"Addtion.Build.CppClean.log <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"Dialog.res <span style='color:#111;'> 68.38KB </span>","children":null,"spread":false},{"title":"Dialog.lastbuildstate <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 630.76KB </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false}],"spread":false},{"title":"TiDlg.h <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"Dialog.aps <span style='color:#111;'> 88.41KB </span>","children":null,"spread":false},{"title":"Dialog.vcxproj <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"TiDlg.cpp <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"Dialog.rc <span style='color:#111;'> 11.55KB </span>","children":null,"spread":false},{"title":"Screen001 <span style='color:#111;'> 8.65KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"bmpScreen.cpp <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"Dialog.rc2 <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"Dialog.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"DialogDlg.cpp <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"DialogDlg.h <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"C <span style='color:#111;'> 661.22KB </span>","children":null,"spread":false},{"title":"Dialog.cpp <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"Dialog.vcxproj.filters <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"Dialog.h <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"Dialog.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"bmpScreen.h <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":false},{"title":"Dialog.sln <span style='color:#111;'> 885B </span>","children":null,"spread":false},{"title":"Dialog.sdf <span style='color:#111;'> 55.89MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • one_JIN :
    2015上运行正常,但要稍微改一下配置就行!谢谢分享
    2018-11-28
  • 爱琴忆海 :
    文件损害,没有用!!!!!千万不要下载
    2018-04-25

免责申明

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