Quote:Original post by jwezorekAfter all, it's not a big issue.Quote:Original post by szecs
The original question is still a mystery for me. I mean how can the window be updated, when I don't call update/invalidaterect in the WM_SIZE handler?
Off the top of my head, I don't know. Are you concerned about the time that the redraws take or is is that they are creating a flicker? Because if it's a flicker you want to get rid of, you could double-buffer in your WM_PAINT.
Sometimes in takes about 100 ms to render the scene, and this produces a bit choppy feel, which is okay in the application (mostly things are redrawn on events), but a bit annoying with resizing/moving the window.
And I want to understand why causes this behavior, because I want to as much control of the redrawing as possible.
I use double buffering BTW.