ObjReader Community

WIP => WIP => Topic started by: Patrice Terrier on June 26, 2017, 05:08:43 pm

Title: Window animation
Post by: Patrice Terrier on June 26, 2017, 05:08:43 pm
Here is an example of window animation.

To create the effect i am using a resource image,
however the good way to do it, is to create a memory bitmap and use WM_PRINT to render a screen shot of the window on the fly.
Of course this must be done BEFORE the window becomes visible (just like when using the AnimateWindow API).

This one is based on GDIPLUS, but the concept is the same for OpenGL.

Press the ESCape key to close the window.

...
Title: Re: Window animation
Post by: Emil Weiss on June 26, 2017, 05:21:21 pm
--
Title: Re: Window animation
Post by: Patrice Terrier on June 26, 2017, 08:29:19 pm
Emil,

That works on W10 too.