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

re: Why does PrintWindow hate CS_PARENTDC? Because EVERYBODY hates CS_PARENTDC!

$
0
0

I used to use CS_CLASSDC to set properties at setup time and leave them (things like persistent brushes that I didn't want to recreate in every WM_PAINT). These days I've learned I can cache the brush and forget about the DC. Hmmm. ParentDC seems like a good idea for a child window and I would hope wouldn't mess up PrintWindow.


Viewing all articles
Browse latest Browse all 24428

Latest Images

Trending Articles



Latest Images

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