CAnimateCtrl::Create

BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );

Return Value

Nonzero if successful; otherwise zero.

Parameters

dwStyle

Specifies the animation control’s style. Apply any combination of the window and animation control styles described under Remarks to the control.

rect

Specifies the animation control’s position and size. It can be either a CRect object or a RECT structure.

pParentWnd

Specifies the animation control’s parent window, usually a CDialog. It must not be NULL.

nID

Specifies the animation control’s ID.

Remarks

You construct a CAnimateCtrl in two steps. First call the constructor, then call Create, which creates the animation control and attaches it to the CAnimateCtrl object.

Apply the following window styles to an animation control.

In addition to the window styles listed above, you may want to apply one or more of the following animation control styles to an animation control:

CAnimateCtrl OverviewClass MembersHierarchy Chart

See Also   CAnimateCtrl::CAnimateCtrl, CAnimateCtrl::Open, CAnimateCtrl::Play, CAnimateCtrl::Seek