Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 24428

re: What are the dire consequences of not selecting objects out of my DC?

$
0
0

So I wasn't hallucinating, there really is a deferred deletion mechanism for objects selected into a device context! I've been wondering about this for years as I've seen production code that deletes objects that are still selected and yet don't leak GDI objects. In fact you can find an example of this in the MSDN library:

support.microsoft.com/default.aspx


Viewing all articles
Browse latest Browse all 24428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>