Sign in to follow this  
shishio

GetDC vs BeginPaint

Recommended Posts

shishio    122
This is a simple question (I think): when should I use GetDC/ReleaseDC and when should I use BeginPaint/EndPaint? I'm a little confused about the difference... Thanks in advance!!!1

Share this post


Link to post
Share on other sites
BeginPaint, unlike GetDC will hide the Caret (if there is any), Restrict drawing only to the Invalid Region and Validate the Region for you. I think it does a couple more things but that's what I know so far.

relient.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this