Location:
Search - memdc
Search list
Description: -
Platform: |
Size: 16797 |
Author: |
Hits:
Description: 使用CMemDC类解决应用程序的闪烁问题
在你的MFC程序中解决闪烁问题是个烦心的工作。你可以在书上或者网上找到关于这方面的介绍,但是介绍的技术一般都是很复杂的或者是很难应用到已经存在的程序中去。
一个京城使用的技术叫做双缓冲。双缓冲使用一个新的缓冲来画屏幕,然后把整个的屏幕显示在真正的屏幕上。
这篇文章使用了叫做CMemDC的类,这个类封装了绝大部分写入off-screen缓冲区的方法。在已经存在的MFC或者是ActiveX控件中加入CMemDC类是非常方便的。
怎样在你的MFC程序中使用CMemDC
1.在你的工程中加入memdc.h文件。
2.在stdafx.h中加入代码#include \"memdc.h\"
3.为窗口做WM_ERASEBKGND的消息映射
4.象下面那样改变处理消息的代码:-use CMemDC category of applications to solve the problem flashing in your MFC process is resolved Flicker 000 bother work. You can book online or find this regard, But introducing the technology in general are very complex or difficult to apply to already existing programs. Beijing used a technique called double buffering. Double buffer using a new buffer to paint a screen, then the screen shows that the whole of the real on the screen. This article called CMemDC use of the category, this category included the majority of package off-screen buffer method. The existence of MFC or ActiveX add CMemDC category is very convenient. What in your MFC procedures used CMemDC one. In your works into memdc.h document. 2. In addition stdafx.h code # include "memdc.h" 3. For window W M_ERASEBK
Platform: |
Size: 2448 |
Author: 罗成 |
Hits:
Description: 内存缓冲类,先将图画到该DC,(可多次作图),然后一次显示-memory buffer category, the first picture of the DC, (multiple mapping), then a show
Platform: |
Size: 1621 |
Author: 16zhi |
Hits:
Description: 使用内存DC的实验。使用内存DC可以提高显示速度,消除闪烁,以及多层绘图等等。
Platform: |
Size: 49171 |
Author: 陈长江 |
Hits:
Description: 使用CMemDC类解决应用程序的闪烁问题
在你的MFC程序中解决闪烁问题是个烦心的工作。你可以在书上或者网上找到关于这方面的介绍,但是介绍的技术一般都是很复杂的或者是很难应用到已经存在的程序中去。
一个京城使用的技术叫做双缓冲。双缓冲使用一个新的缓冲来画屏幕,然后把整个的屏幕显示在真正的屏幕上。
这篇文章使用了叫做CMemDC的类,这个类封装了绝大部分写入off-screen缓冲区的方法。在已经存在的MFC或者是ActiveX控件中加入CMemDC类是非常方便的。
怎样在你的MFC程序中使用CMemDC
1.在你的工程中加入memdc.h文件。
2.在stdafx.h中加入代码#include "memdc.h"
3.为窗口做WM_ERASEBKGND的消息映射
4.象下面那样改变处理消息的代码:-use CMemDC category of applications to solve the problem flashing in your MFC process is resolved Flicker 000 bother work. You can book online or find this regard, But introducing the technology in general are very complex or difficult to apply to already existing programs. Beijing used a technique called double buffering. Double buffer using a new buffer to paint a screen, then the screen shows that the whole of the real on the screen. This article called CMemDC use of the category, this category included the majority of package off-screen buffer method. The existence of MFC or ActiveX add CMemDC category is very convenient. What in your MFC procedures used CMemDC one. In your works into memdc.h document. 2. In addition stdafx.h code# include "memdc.h" 3. For window W M_ERASEBK
Platform: |
Size: 2048 |
Author: 罗成 |
Hits:
Description: 内存缓冲类,先将图画到该DC,(可多次作图),然后一次显示-memory buffer category, the first picture of the DC, (multiple mapping), then a show
Platform: |
Size: 1024 |
Author: 16zhi |
Hits:
Description: 在Visual C++ 环境下,控制节目显示如何不闪烁。对于带有图像显示的界面控制尤其重要。通过Memory DC的方式实现。易于使用-in Visual C environment, the control program shows how not blinked. For images with the interface control is especially important. Memory DC through in a way. Easy to use
Platform: |
Size: 19456 |
Author: steven |
Hits:
Description: 使用内存DC的实验。使用内存DC可以提高显示速度,消除闪烁,以及多层绘图等等。-Experimental use of the memory DC. The use of memory can improve the display speed DC to eliminate flicker, as well as multi-layer graphics and so on.
Platform: |
Size: 49152 |
Author: 陈长江 |
Hits:
Description: 在MFC中,采用内存绘图的方式,既可以节省时间而且有效的解决了频闪的问题。环境:VC6.0-In MFC, using memory mapping approach not only can save time and effective solution to the problem of the strobe. Environment: VC6.0
Platform: |
Size: 90112 |
Author: 张学君 |
Hits:
Description: windows ce 6.0下的实现Listctrl自画,并且完美实现隐藏ScrollBar功能,开发平台windows ce 6.0加上模拟器CHSEmu (ARMV4I)(WinCE6.0中文模拟器SDK)。-windows ce 6.0 to achieve under the Listctrl from painting, and to achieve the perfect hide ScrollBar function, development platform together with the windows ce 6.0 simulator CHSEmu (ARMV4I) (WinCE6.0 Chinese simulator SDK).
Platform: |
Size: 59392 |
Author: 理学伟 |
Hits:
Description: 创建memdc内存缓冲区,简明演示双缓冲方式实现无闪烁绘,功能很简单-Create memdc memory buffer, concise presentation double buffer to achieve flicker-free drawing, functionality is very simple
Platform: |
Size: 53248 |
Author: 胡进 |
Hits:
Description: 内存dc,内存dc是用于双缓冲,以解决重绘闪烁的问题-Memory dc, memory dc for double buffering to resolve the issue of flickering redraw
Platform: |
Size: 1024 |
Author: hong |
Hits:
Description: 关于内存DC的使用,这是我用的别人做的一个示例,加上一个封装好的内存dc类,使用还是比较方便,从示例程序里面可以看到非常明显的效果。-DC on the use of memory, this is someone I used to do a sample, plus a packaged memory dc class, it is quite easy to use, you can see from the example program which is very significant results.
Platform: |
Size: 2760704 |
Author: 刘颖 |
Hits:
Description: 这是我在别人的一个示例上面做的修改,封装了一个比较完整内存DC类,在示例代码里面可以看到明显的效果,解决闪屏问题-This is an example of my people to do the above changes, a more complete package, the memory DC class, in the example code to see significant results which can solve the splash screen problem
Platform: |
Size: 38912 |
Author: 刘颖 |
Hits:
Description: 双缓冲的C++封装类,只有一个文件,简洁易懂,本人就是用的这个。-C++ double buffering wrapper class, only one file and easy to read, I was using this.
Platform: |
Size: 1024 |
Author: kongziyang |
Hits:
Description: memDC,chuong trinh load anh
Platform: |
Size: 2064384 |
Author: nguyen anh |
Hits:
Description: 一个基于MFC的简单的屏幕截图工具,其中实现了热键截取-DWORD size=bitmap.bmWidthBytes*bitmap.bmHeight //图片数据大小
LPSTR lpData=(LPSTR)GlobalAlloc(GPTR,size)
int panelsize = 0 //记录调色板大小
if(bitmap.bmBitsPixel<16) //判断是否为真彩色位图
panelsize =(int)pow(2,bitmap.bmBitsPixel*sizeof(RGBQUAD))
BITMAPINFOHEADER*pBInfo = (BITMAPINFOHEADER*)LocalAlloc(LPTR,
sizeof(BITMAPINFO)+panelsize) //位图头指针
pBInfo->biBitCount = bitmap.bmBitsPixel //位图像素
pBInfo->biClrImportant = 0
pBInfo->biCompression = 0
pBInfo->biHeight = bitmap.bmHeight //位图高
pBInfo->biPlanes = bitmap.bmPlanes
pBInfo->biSize = sizeof(BITMAPINFO)
pBInfo->biSizeImage = bitmap.bmWidthBytes*bitmap.bmHeight //数据
pBInfo->biWidth = bitmap.bmWidth //位图宽
pBInfo->biXPelsPerMeter = 0
pBInfo->biYPelsPerMeter = 0
GetDIBits(memDC.m_hDC,bmp,0,pBInfo->biHeight,lpData,
(BITMAPINFO*)pBInfo,DIB_RGB_COLORS)
Platform: |
Size: 6620160 |
Author: sunwen |
Hits:
Description: 将图章图片加载到memdc上,如果是GDI+直接设置alpha通道就可以了,如果是gdi可以用alpha混合memdc也可以得到想要的效果-change dsadasdasfdf
Platform: |
Size: 4639744 |
Author: 主见 |
Hits:
Description: 修改了cgridctrl表格控件MemDC,使之支持VS2010,不会出现编译错误-Modified cgridctrl form controls MemDC support VS2010, not a compilation error
Platform: |
Size: 103424 |
Author: icefox |
Hits:
Description: this MEMDC
it very good
example
asd * ada
adsa = new sdad(pdc)
delete adsa-this is MEMDC
it it very good
example
asd * ada
adsa = new sdad(pdc)
delete adsa
Platform: |
Size: 2048 |
Author: Sherlock.kim |
Hits: