How to clean up after myself when drawing directly to the screen

Posted by MusiGenesis on Stack Overflow See other posts from Stack Overflow or by MusiGenesis
Published on 2010-03-27T00:36:55Z Indexed on 2010/03/27 0:43 UTC
Read the original article Hit count: 379

Filed under:
|
|
|

I'm drawing directly to the screen using BitBlt and GetDC(IntPtr.Zero). Is there some way to call Refresh or Invalidate on the whole screen when I'm done, so that I don't leave bug chunks of paint everywhere (digitally speaking)?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET