Alexei A Podtelezhnikov, PhD
>> Thank you and Dmitry for your suggestions and testing. Clearly, the smooth
>> resizing is probably not meant to be in Windows by design.
>
> Well, the applications are supposed to render window contents on WM_PAINT,
> and on WM_SIZE change the canvas size. In other words, the demo should take
> into account that window size could change but a being painted bitmap stay
> the same.
No. The issue is that the program cannot get control after WM_SIZE under GDI.
This is rather strange.