CWnd::AnimateWindow

Produces special effects when showing or hiding windows.

BOOL AnimateWindow(
   DWORD dwTime,
   DWORD dwFlags
);

Parameters

  • 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.

Return Value

Nonzero if the function succeeds; otherwise 0.

Remarks

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

Requirements

Header: afxwin.h

See Also

Concepts

CWnd Class

CWnd Members

Hierarchy Chart