23_444 wrote:
I'm not convinced ... that WM_PAINT is firing for each call.
You are correct, these calls tend to get collected together and then the app gets a single
WM_PAINT
message for an accumulation of more than one of the invalidated regions. As to the advantages of doing it this way, that depends entirely on your application and what it is trying to display at any time. Take a look at the
MSDN documentation[
^] for more information.