什么时候gdi句柄数增加了 [英] When and all does the gdi handle count increases
本文介绍了什么时候gdi句柄数增加了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我只是想知道什么时候该程序增加了gdi对象的数量。
我之所以如此我问这是我的程序继续增加gdi计数,即使我没有创建任何新闻gdi对象但使用相同的对象。
谢谢
我尝试了什么:
我试着看看我是否正在创建任何新的gdi我可能没有释放它的对象,但没有那种类型。
hi all ,
I just want to know when and all does the program increases the gdi objects count.
The reason I am asking is this my program keeps on increasing the gdi counts even though I am not creating any news gdi object but using the same objects.
thanks
What I have tried:
I tried to look if I am creating any new gdi object which I probably not releasing it but nothing of that sort.
推荐答案
没有任何示例代码可以分析,很难说明你做错了什么。 />
一般来说,每次调用其中一个Create方法时都会创建一个GDI对象。
MSDN列出了所有的Create和Destroy方法这里的GDI对象:
GDI对象(Windows) [ ^ ]
Without any sample code to analyze it is difficult to say what you are doing wrong specifically.
In general terms, a GDI object is created every time you call one of the Create methods.
MSDN lists the Create and Destroy methods for all GDI objects here:
GDI Objects (Windows)[^]
这篇关于什么时候gdi句柄数增加了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文