Location:
Search - Window DC
Search list
Description: 如何让CDC上输出的文字、图形具有保持功能,集合类CPtrArray的使用,CPaintDC与CClientDC的区别与应用,OnPaint与OnDraw在CView中的关系及实现内幕,滚动窗口的实现,坐标空间,映射方式,设备坐标与逻辑坐标的转换。元文件设备描述表的使用,如何利用兼容DC实现图形的保存和再现。-CDC on how to output text, graphics help maintain function, the collection classes CPtrArray use CPaintDC CClientDC with distinction and application of the OnPaint and OnDraw CView relations and the realization of insider, the realization of the rolling window, coordinate space, mapping, coordinates and logic devices coordinate conversion . Yuan paper describes Table equipment use, how to use graphics compatible DC preservation and retrieval.
Platform: |
Size: 45234 |
Author: 刘祥景 |
Hits:
Description: VC++实现 - 动态截获并显示窗口DC-VC-dynamic intercepted and display window DC
Platform: |
Size: 32024 |
Author: 吴天 |
Hits:
Description: 应用离屏DC实现窗口无闪烁图像显示技术.kdh
应用离屏DC实现窗口无闪烁图像显示技术.kdh-application from the window-screen DC without blinking image display technology. Kdh application from the window-screen DC without blinking Image Display Technology. kdh
Platform: |
Size: 103318 |
Author: limaobing |
Hits:
Description: 虽然还不能算是完美的模仿,但效果已经非常非常的接近了。也许有人会奇怪为什么要用Tool Window 风格,这是因为,这样在任务栏中不会显示窗口。从QQ的标题栏高度也可以判断出他也是这种风格,但这样一来就不能拥有最小化、最大化按键了。实际上QQ的最大化、最小化和关闭按键都是用DC画上去的。如何在Caption上增加按键,外国一些开源网站有源代码,我下载并看了一下,发现里面有个知识点很有趣,那就是更改消息路由,有兴趣的可以去下载来学习一下。
Platform: |
Size: 46451 |
Author: aaaaa |
Hits:
Description: 内存演示程序-Memory demo program
Platform: |
Size: 50176 |
Author: 郭涛岩 |
Hits:
Description: 在VC中将客户区图像保存到BMP位图文件 程序名称:MainFrm.c-customers in VC Lieutenant General District BMP images stored procedures bitmap file name : MainFrm.c
Platform: |
Size: 392192 |
Author: 远风 |
Hits:
Description: 利用MFC画图和GUI函数,构造自己的虚拟窗口和各种控件(如LISTBOX,CHART,BUTTON,HYPERLINK,SCROLL WINDOW,TAB WINDOW)-using MFC and GUI drawing function, their virtual structure and the various window controls (such as LISTBOX, CHART, BUTTON. ct, scroll WINDOW, TAB WINDOW)
Platform: |
Size: 28672 |
Author: lk |
Hits:
Description: java中用jni实现调用window mediaplay
组件实现window mediaplay在java中内嵌
组件的例子-used to achieve Nations call window mediaplay Component wind ow mediaplay in java embed components example
Platform: |
Size: 57344 |
Author: zongying |
Hits:
Description: windows的cdc图形编程的举列程序,对于熟悉windows的CDC有好处-windows of the cdc graphical programming procedures listed, for those familiar with the CDC good windows
Platform: |
Size: 3726336 |
Author: fred |
Hits:
Description: VC++实现 - 动态截获并显示窗口DC-VC-dynamic intercepted and display window DC
Platform: |
Size: 4219904 |
Author: 吴天 |
Hits:
Description: Windows程序运行原理及程序编写流程,窗口产生过程,句柄原理,消息队列,回调函数,窗口关闭与应用程序退出的工作关系,使用VC++的若干小技巧,stdcall与cdecl调用规范的比较,初学者常犯错误及注意事项。
-Windows operating procedures principles and procedures for the preparation process, the window is formed, and handle principles, message queue, callback function, the window is closed and application procedures to withdraw from the working relationship, the use of a number of small VC skills, stdcall and cdecl calling norms, beginners often make mistakes and tips.
Platform: |
Size: 14336 |
Author: 讼师为 |
Hits:
Description: 该程序实现了将图片读入内存DC,但不读入窗口DC,并可根据坐标在图片相应位置写字的功能;点鼠标右键弹出对话框设置坐标,点确定保存图片!-The program will realize the picture is read into memory DC, but do not read into the window DC, and in accordance with the location coordinates in the picture and write the corresponding function point the right mouse button pop-up dialog box set the coordinates of points determined to preserve picture!
Platform: |
Size: 123904 |
Author: 赵兴方 |
Hits:
Description: Capturing window content can be done easily by using the ::BitBlt(..) from the screen DC however, this kind of implementation forces you to make sure that the window you want to capture is on top of the screen. In this project, to capture all the screen (Desktop), this technique is useful. Because it s not good for capturing covered windows, I capture windows with the ::PrintWindow(..) API.
The project is a MFC-dialog based application, built with VC6. However, as mentioned above, all the implementations are inside the CaptureEx class, so actually MFC is being used just as a wrapper for the GUI the CaptureEx functionality is implemented with the Win32 API. In that way, Win32 applications can also benefit from the class.-Capturing window content can be done easily by using the:: BitBlt (..) from the screen DC however, this kind of implementation forces you to make sure that the window you want to capture is on top of the screen. In this project, to capture all the screen (Desktop), this technique is useful. Because it s not good for capturing covered windows, I capture windows with the:: PrintWindow (..) API.The project is a MFC-dialog based application, built with VC6. However, as mentioned above, all the implementations are inside the CaptureEx class, so actually MFC is being used just as a wrapper for the GUI the CaptureEx functionality is implemented with the Win32 API. In that way, Win32 applications can also benefit from the class.
Platform: |
Size: 14336 |
Author: ljm |
Hits:
Description: VC编程动态截获并显示窗口DC 实例代码-VC intercepted dynamic programming and show examples of the code window DC
Platform: |
Size: 19456 |
Author: xuqian |
Hits:
Description: 使用MFC制作的QQ找茬辅助工具
运行环境:VS 2008
程序通过获取窗口DC再进行图像比较,标出不同处-QQ finding fault produced using MFC aids operating environment: VS 2008 program through access to the window DC and then compare the images, marked differs
Platform: |
Size: 9955328 |
Author: kevin |
Hits:
Description: 使用MFC制作的QQ找茬辅助工具
运行环境:VS 2008
程序通过获取窗口DC再进行图像比较,标出不同处-QQ finding fault produced using MFC aids operating environment: VS 2008 program through access to the window DC and then compare the images, marked differs
Platform: |
Size: 137216 |
Author: kevin |
Hits:
Description: 一个实用屏幕拷贝程序,取得桌面窗口句柄,通过句柄获得桌面窗口的DC,将它copy到内存DC-Screen copy of a utility program to obtain the desktop window handle, the handle obtained through the desktop window DC, copy it into memory DC
Platform: |
Size: 25600 |
Author: long |
Hits:
Description: 一个VC++写的屏幕DC程序,也就是将对象输出到屏幕上,而非VC的窗口内,这个是简单版,也是基础点的,因此希望对此不了解的朋友研究一下。
-VC++ to write a screen DC program, which is the object output to the screen, rather than the VC of the window, this is a simple version, is based on points, so I hope the friends do not understand this look.
Platform: |
Size: 10240 |
Author: madud00104 |
Hits:
Description: dcWatcher 是一个DC查看工具,用来跟踪DC位图的任何变化,可实时查看窗口DC或者内存DC的显示内容。
此工具最适合自绘界面的单步跟踪,通常情况下单步跟踪是无法查看绘制结果的。
使用方法:
1、把 dcWatcher.exe 和 dctrace.dll 文件复制到需调试的目标EXE的相同文件夹下
2、在项目中导入 dctrace.lib 库文件
3、在合适的CPP/H文件中包括 dctrace.h 头文件
4、在需要调试DC的地方插入语句,例如在WM_PAINT消息响应函数中插入 BeginWatch(hdc) ,hdc可以是窗口DC或内存DC,确保 hdc 是一个合法有效的DC句柄
5、编译项目后运行,DC查看窗口会在合适的时候自动启动,并保持在桌面顶端可见。可单步调试DC绘制语句,每一个绘制操作都会显示在查看窗口中。为了提高操作效率,查看窗口并非完全同步显示,但显示延时不超过1秒。
此工具的不足:
* 一次只能调试一个DC,不能同时调试多个DC
* 如果在代码中多次调用 BeginWatch,则查看器窗口只显示最后设置的DC
* 如果不需要继续跟踪DC,则可调用 EndWatch,参数值被忽略-dcWatcher a DC View tool used to track any changes in the DC bitmap can be viewed in real time the display content of window DC or memory DC.
This tool is most suitable for single-step tracking, self-painted interface tracking is usually the case of single-step can not view the draw results.
How to use:
1 the dcWatcher.exe and dctrace.dll copy files to the same folder as the need to debug the target EXE
Import dctrace.lib library file in the project
Including dctrace.h header files in the CPP/H files
4, insert statement where you need to debug, DC, for example to insert BeginWatch in the WM_PAINT message in the response function (hdc) , hdc is a window DC or memory DC to ensure that the hdc is a legitimate and effective DC handle
5, the project is built to run, DC viewing window at the right time to start automatically and remain in the top of the desktop visible. Single-step through the DC to draw statements, each drawing operation will be displayed in the viewing window. In
Platform: |
Size: 23552 |
Author: 赵一 |
Hits:
Description: 图形的绘制,如何使用自定义画笔(颜色,线宽,线形)。如何为程序中添加选项菜单和选项设置对话框,如何使用标准颜色对话框,如何使用字体对话框,在选项对话框中实现预览功能。实现选项对话框和窗口类中的数据交换。如何改变对话框和控件的背景色,如何改变控件的文本颜色,对按钮控件的特殊处理。如何在窗口中显示一幅位图。-Graphics rendering, and how to use a custom brush (color, line width, line). How to add the options menu and option settings dialog box for the program, and how to use the standard color dialog, how to use the Font dialog box, the preview function in the Options dialog box. Data exchange in the Options dialog box and window class. How to change the background color of the dialog box and control, how to change the text color of the control, the special treatment of the button control. How to display a bitmap in a window.
Platform: |
Size: 5908480 |
Author: 张三 |
Hits: