Understanding Device Contexts
Posted
by Smashery
on Stack Overflow
See other posts from Stack Overflow
or by Smashery
Published on 2010-05-06T01:08:52Z
Indexed on
2010/05/06
1:18 UTC
Read the original article
Hit count: 301
As a relative newcomer to MFC, I see Device Contexts (DCs) a lot. I vaguely understand that it's something to do with drawing, but the specifics are not very well explained anywhere that I can find. What does creating a "compatible Device Context" mean, and why is it important? What does SelectObject do, and how must I make a DC compatible first?
© Stack Overflow or respective owner