[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
- resizable ft2demos, Alexei Podtelezhnikov, 2020/05/22
- Re: resizable ft2demos, Dmitry Timoshkov, 2020/05/22
- Re: resizable ft2demos, Anuj Verma, 2020/05/22
- Re: resizable ft2demos, Dmitry Timoshkov, 2020/05/22
- Re: resizable ft2demos, Alexei Podtelezhnikov, 2020/05/22
- Re: resizable ft2demos, Anuj Verma, 2020/05/22
- Re: resizable ft2demos, Dmitry Timoshkov, 2020/05/22
- Re: resizable ft2demos, Anuj Verma, 2020/05/22
- Re: resizable ft2demos, Dmitry Timoshkov, 2020/05/23
- Re: resizable ft2demos, Anuj Verma, 2020/05/23
- Re: resizable ft2demos,
Alexei Podtelezhnikov <=
- Re: resizable ft2demos, Dmitry Timoshkov, 2020/05/23
- Re: resizable ft2demos, Alexei Podtelezhnikov, 2020/05/23
- Re: resizable ft2demos, Anuj Verma, 2020/05/23
- Re: resizable ft2demos, Alexei Podtelezhnikov, 2020/05/24
- Re: resizable ft2demos, Dmitry Timoshkov, 2020/05/24
- Re: resizable ft2demos, Alexei Podtelezhnikov, 2020/05/24