What are the differences between RedrawWindow and UpdateWindow in Win32?
Since they seem to have the same purpose to refresh a window, what are the differences?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
RedrawWindowis typically used to force a redraw of the entire window (or some specified region within) right now.UpdateWindowwill force a redraw of only the update region of the window, i.e. that part of the window that has been invalidated (e.g. by callingInvalidateRect) since the last paint cycle.