Animate_CreateAnimate_Create*
*Contents  *Index  *Topic Contents
*Previous Topic: Animate_Close
*Next Topic: Animate_Open

Animate_Create


HWND Animate_Create(
    HWND hwndP, 
    UINT id, 
    DWORD dwStyle, 
    HINSTANCE hInstance
);

Creates an animation control. Animate_Create calls the CreateWindow function to create the animation control.

hwndP
Handle to the parent window.
id
Child window identifier of the animation control.
dwStyle
Window styles. For a list of the animation control style values, see Animation Control Styles.
hInstance
Handle to the instance of the module that is creating the animation control.

The Animate_Create macro sets the width and height of the animation control to zero if the ACS_CENTER style is specified. If the ACS_CENTER style is not specified, Animate_Create sets the width and height based on the dimensions of a frame in the AVI clip.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.