freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resizable ft2demos


From: Alexei Podtelezhnikov
Subject: Re: resizable ft2demos
Date: Sat, 23 May 2020 07:17:09 -0400

On Sat, May 23, 2020 at 6:01 AM Dmitry Timoshkov <address@hidden> wrote:
> In addition to CS_HREDRAW | CS_VREDRAW the WM_SIZE handler should call
> DefWindowProc() so that default message processing forces a window update.
> After that the window gets repainted while being resized.

I've achieved the same effect with CS_HREDRAW | CS_VREDRAW | CS_OWNDC.
It looks funky as if everything is working without the bitmap data
being updated.
Check it out if you have time.

> I'd suggest to change the demo design, so that it provides a callback
> to the graphics subsystem for a forced bitmap resize.

Indeed we need a callback or... Would a longjmp to break the loop work?

Alexei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]