Click here to Skip to main content
15,893,487 members
Articles / Desktop Programming / MFC

Saving Drawing Contexts

Rate me:
Please Sign up or sign in to vote.
5.00/5 (14 votes)
27 Mar 20016 min read 122K   32  
GDI objects selected in a DC can't be deleted - even when you call DeleteObject. This handy class makes these potential leaks a thing of the past.
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Retired
United States United States
PhD, Computer Science, Carnegie Mellon University, 1975
Certificate in Forensic Science and the Law, Duquesne University, 2008

Co-Author, [i]Win32 Programming[/i]

Comments and Discussions