Recall that window DCs are most commonly used only temporarily.
If you need to draw into a window, you call BeginPaint or, if outside of a paint cycle, GetDC ,
although painting outside of a paint cycle is generally to be avoided.
The window manager produces
Read More...