Share via


CAnimationController::SetRelatedWnd

Visual Studio 2010 SP1 is required.

Establishes a relationship between animation controller and a window.

void SetRelatedWnd(
   CWnd* pWnd
);

Parameters

  • pWnd
    A pointer to window object to set.

Remarks

If a related CWnd object is set, the animation controller can automatically update it (send WM_PAINT message) when the status of animation manager has changed or timer post update event has occurred.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationController Class