This documentation is archived and is not being maintained.

CWnd::AnimateWindow

Produces special effects when showing or hiding windows.

BOOL AnimateWindow( 
   DWORD dwTime, 
   DWORD dwFlags 
);

dwTime

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

dwFlags

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

Show: