This documentation is archived and is not being maintained.


Produces special effects when showing or hiding windows.

BOOL AnimateWindow( 
   DWORD dwTime, 
   DWORD dwFlags 


Specifies how long it takes to play the animation, in milliseconds. Typically, an animation takes 200 milliseconds to play.


Specifies the type of animation. For a full list of possible values, see AnimateWindow.

Nonzero if the function succeeds; otherwise 0.

This member function emulates the functionality of the function AnimateWindow, as described in the Windows SDK.

Header: afxwin.h