The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Bill Cravener on December 02, 2008, 04:47:30 PM

Title: Fun with the AnimateWindow API.
Post by: Bill Cravener on December 02, 2008, 04:47:30 PM
Was trolling thru the MS development SDK over the Thanksgiving holiday looking for an API to play with and settled on the AnimateWindow function. Here are 8 different examples using AnimateWindow with a simple resource dialog. One thing I discovered is that this API does not work very well when in Vista Aero mode. I prefer Vista Basic mode so no problems there. Still pretty cool what you can do with the different animation flags used with this API. I've used them in a few different combinations but there are other ways to use them. I'll let you explore what else can be achieved with the AnimateWindow API animation flags.  :bg


[attachment deleted by admin]
Title: Re: Fun with the AnimateWindow API.
Post by: Vortex on December 02, 2008, 09:43:53 PM
Nice examples :U
Title: Re: Fun with the AnimateWindow API.
Post by: zooba on December 02, 2008, 09:56:20 PM
I'm glad most people don't use those - makes me feel like I'm in a Powerpoint presentation :bg
Title: Re: Fun with the AnimateWindow API.
Post by: Bill Cravener on December 03, 2008, 10:36:55 AM
Thanks Vortex. :bg


zooba,

Now that you mention it the examples do make one think of pp presentations. (http://www.quickersoft.com/gigglesmile.gif)

Was fun playing with though.
Title: Re: Fun with the AnimateWindow API.
Post by: BlackVortex on December 15, 2008, 03:29:20 PM
Yeah, I'd made use of AnimateWindow some time ago, randomizing its parameters so that random efects were used. Then I tested in on Vista Aero. Let's just say I wasn't very pleased with the result. 
Title: Re: Fun with the AnimateWindow API.
Post by: travism on December 17, 2008, 10:08:21 AM
Oh wow, I remember doing this in delphi. Now its cool to know how to use it in assembly. Thanks for the examples. Awesome!